package
0.6.7
Repository: https://github.com/xmidt-org/xmidt-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Operate applies the specified options to the filesystem.
Options provides a way to group multiple options together.
ReadFileWithSHA256 reads the specified file ensures the checksum matches.
WithDir is an option that ensures the specified directory exists.
WithDirs is an option that ensures the specified directory path exists with the specified permissions.
WithPath is an option that ensures the set of directories for the specified file exists.
WriteFileWithSHA256 calculates and writes both the file and a checksum file.

# Variables

No description provided by the author
ErrNotDirectory is returned when a directory is expected but a file is found.

# Interfaces

FS is the interface for a filesystem used by the program.
Option is an interface for options that can be applied in order via the Operate function.

# Type aliases

OptionFunc is a function that implements the Option interface.