day07

package
v0.0.0-...-fe2311f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL