9 lines
200 B
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)
|
||
|
}
|