package storage import ( "go.alanpearce.eu/website/internal/buffer" ) type Reader interface { GetFile(path string) (*File, error) CanonicalisePath(path string) (string, bool) } type Writer interface { Mkdirp(path string) error Write(pathname string, content *buffer.Buffer) error }