Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnapshotEntry ¶
type SnapshotEntry struct {
Path string
Size int64
ModTime int64
IsDir bool
Permissions uint32
Hash []byte
}
SnapshotEntry represents file metadata to be recorded.
func Walk ¶
func Walk(root string) ([]SnapshotEntry, error)
Walk performs a concurrent directory traversal starting at root.
func WalkWithContext ¶
func WalkWithContext(ctx context.Context, root string) ([]SnapshotEntry, error)
WalkWithContext performs a concurrent directory traversal starting at root with context support.
Click to show internal directories.
Click to hide internal directories.