Documentation ¶
Index ¶
- Variables
- type FileNodeService
- func (n FileNodeService) CreateFileNode(ctx context.Context, newFileNode model.CreateFileNode) (model.FileNode, error)
- func (n FileNodeService) DeleteFileNode(ctx context.Context, id model.ID) (model.ID, error)
- func (n FileNodeService) GetFileNodeByPath(ctx context.Context, path string) (model.FileNode, error)
- type FileService
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFileNotInUploadState = errors.New("the file is not in upload state")
)
Functions ¶
This section is empty.
Types ¶
type FileNodeService ¶
type FileNodeService struct { Logger log.GoDropLogger Repos *provider.Repositories }
func (FileNodeService) CreateFileNode ¶
func (n FileNodeService) CreateFileNode(ctx context.Context, newFileNode model.CreateFileNode) (model.FileNode, error)
func (FileNodeService) DeleteFileNode ¶ added in v0.1.5
func (FileNodeService) GetFileNodeByPath ¶
type FileService ¶
type FileService struct { Logger log.GoDropLogger Repos *provider.Repositories }
Click to show internal directories.
Click to hide internal directories.