Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func New ¶
func New(input []string) *FileSystem
func (*FileSystem) ChangeDir ¶
func (d *FileSystem) ChangeDir(path string)
func (FileSystem) DirectorySizes ¶
func (d FileSystem) DirectorySizes() map[string]int
func (*FileSystem) Discover ¶
func (d *FileSystem) Discover(file string)
func (FileSystem) FreeSpace ¶
func (d FileSystem) FreeSpace() int
func (FileSystem) List ¶
func (d FileSystem) List() []string
func (FileSystem) Pwd ¶
func (d FileSystem) Pwd() string
func (FileSystem) UsedSpace ¶
func (d FileSystem) UsedSpace() int
Click to show internal directories.
Click to hide internal directories.