File: filesystem.go

package info (click to toggle)
golang-github-mitchellh-go-fs 0.0~git20161108.7bae45d-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 160 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
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)
}