package
0.0.0-20191105001805-938d4476de14
Repository: https://github.com/sarath-kumar/bb-storage.git
Documentation: pkg.go.dev

# Functions

NewFileInfo constructs a FileInfo object that returns fixed values for its methods.
NewLocalDirectory creates a directory handle that corresponds to a local path on the system.

# Constants

FileTypeDirectory means the file is a directory.
FileTypeExecutableFile means the file is a regular file that is executable.
FileTypeOther means the file is neither a regular file, a directory or symbolic link.
FileTypeRegularFile means the file is a regular file that is not executable.
FileTypeSymlink means the file is a symbolic link.

# Structs

FileInfo is a subset of os.FileInfo, only containing the features used by the Buildbarn codebase.

# Interfaces

Directory is an abstraction for accessing a subtree of the file system.
File is an interface for the operations that are applied on regular files opened through Directory.OpenFile().

# Type aliases

FileType is an enumeration of the type of a file stored on a file system.