Documentation ¶
Index ¶
- type Repository
- func (r Repository) CreateDirectory(ctx app.Context, path app.Path) error
- func (r Repository) CreateFile(ctx app.Context, path app.Path, content []byte) error
- func (r Repository) DeleteDocument(ctx app.Context, path app.Path) error
- func (r Repository) FetchFileByPath(ctx app.Context, path app.Path) (io.Reader, error)
- func (r Repository) MoveDocument(ctx app.Context, oldPath app.Path, newPath app.Path) error
- func (r Repository) UpdateFile(ctx app.Context, path app.Path, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct{}
func (Repository) CreateDirectory ¶
func (Repository) CreateFile ¶
func (Repository) DeleteDocument ¶
func (Repository) FetchFileByPath ¶
func (Repository) MoveDocument ¶
func (Repository) UpdateFile ¶
Click to show internal directories.
Click to hide internal directories.