package winio
import "github.com/Microsoft/go-winio"
Index ¶
- func EncodeExtendedAttributes(eas []ExtendedAttribute) ([]byte, error)
- func EncodeReparsePoint(rp *ReparsePoint) []byte
- type ExtendedAttribute
- type ReparsePoint
- func DecodeReparsePoint(b []byte) (*ReparsePoint, error)
- func DecodeReparsePointData(tag uint32, b []byte) (*ReparsePoint, error)
- type UnsupportedReparsePointError
Functions ¶
func EncodeExtendedAttributes ¶
func EncodeExtendedAttributes(eas []ExtendedAttribute) ([]byte, error)
EncodeExtendedAttributes encodes a list of EAs into a FILE_FULL_EA_INFORMATION buffer for use with BackupWrite, ZwSetEaFile, etc.
func EncodeReparsePoint ¶
func EncodeReparsePoint(rp *ReparsePoint) []byte
EncodeReparsePoint encodes a Win32 REPARSE_DATA_BUFFER structure describing a symlink or mount point.
Types ¶
type ExtendedAttribute ¶
ExtendedAttribute represents a single Windows EA.
func DecodeExtendedAttributes ¶
func DecodeExtendedAttributes(b []byte) (eas []ExtendedAttribute, err error)
DecodeExtendedAttributes decodes a list of EAs from a FILE_FULL_EA_INFORMATION buffer retrieved from BackupRead, ZwQueryEaFile, etc.
type ReparsePoint ¶
ReparsePoint describes a Win32 symlink or mount point.
func DecodeReparsePoint ¶
func DecodeReparsePoint(b []byte) (*ReparsePoint, error)
DecodeReparsePoint decodes a Win32 REPARSE_DATA_BUFFER structure containing either a symlink or a mount point.
func DecodeReparsePointData ¶
func DecodeReparsePointData(tag uint32, b []byte) (*ReparsePoint, error)
type UnsupportedReparsePointError ¶
type UnsupportedReparsePointError struct { Tag uint32 }
UnsupportedReparsePointError is returned when trying to decode a non-symlink or mount point reparse point.
func (*UnsupportedReparsePointError) Error ¶
func (e *UnsupportedReparsePointError) Error() string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
backuptar | |
pkg | |
pkg/etw | Package etw provides support for TraceLogging-based ETW (Event Tracing for Windows). |
pkg/etw/sample | |
tools | |
tools/etw-provider-gen | |
wim | |
wim/lzx | Package lzx implements a decompressor for the the WIM variant of the LZX compression algorithm. |
wim/validate |
- Version
- v0.4.18
- Published
- Apr 14, 2021
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 3 days ago –
Tools for package owners.