Documentation ¶
Overview ¶
Package usnsource describes source information for USN change journal records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FormatC = Format{
DataManagement: "USN_SOURCE_DATA_MANAGEMENT",
AuxilaryData: "USN_SOURCE_AUXILIARY_DATA",
ReplicationManagement: "USN_SOURCE_REPLICATION_MANAGEMENT",
ClientReplicationManagement: "USN_SOURCE_CLIENT_REPLICATION_MANAGEMENT",
}
FormatC maps source information to C-style constant strings.
View Source
var FormatGo = Format{
Local: "Local",
DataManagement: "DataManagement",
AuxilaryData: "AuxilaryData",
ReplicationManagement: "ReplicationManagement",
ClientReplicationManagement: "ClientReplicationManagement",
}
FormatGo maps source information to Go-style constant strings.
View Source
var FormatShort = Format{
Local: "LOCAL",
DataManagement: "OS",
AuxilaryData: "AUX",
ReplicationManagement: "REPL",
ClientReplicationManagement: "CLOUD",
}
FormatShort maps source information to short strings.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info uint32
Info encodes information about the source of USN change journal records.
const ( Local Info = 0x00000000 DataManagement Info = 0x00000001 // USN_SOURCE_DATA_MANAGEMENT AuxilaryData Info = 0x00000002 // USN_SOURCE_AUXILIARY_DATA ReplicationManagement Info = 0x00000004 // USN_SOURCE_REPLICATION_MANAGEMENT ClientReplicationManagement Info = 0x00000008 // USN_SOURCE_CLIENT_REPLICATION_MANAGEMENT )
USN Journal Source Info Codes
func (Info) Join ¶
Join returns a string representation of the source information using the given separator and format.
Click to show internal directories.
Click to hide internal directories.