packer-cn/vendor/github.com/mitchellh/go-fs/filesystem.go

9 lines
200 B
Go

package fs
// A FileSystem provides access to a tree hierarchy of directories
// and files.
type FileSystem interface {
// RootDir returns the single root directory.
RootDir() (Directory, error)
}