Documentation ¶
Index ¶
- Variables
- type ParentDirectoryObjectBoxRepository
- func (repo ParentDirectoryObjectBoxRepository) Delete(dir model.ParentDirectory) error
- func (repo ParentDirectoryObjectBoxRepository) DeleteByPath(path string) error
- func (repo ParentDirectoryObjectBoxRepository) GetAll() ([]*model.ParentDirectory, error)
- func (parentDirRepo ParentDirectoryObjectBoxRepository) Put(parentDir model.ParentDirectory) (uint64, error)
- type ParentDirectoryRepository
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ERR_PATH_NOT_FOUND = errors.New("path not found")
)
Functions ¶
This section is empty.
Types ¶
type ParentDirectoryObjectBoxRepository ¶
type ParentDirectoryObjectBoxRepository struct {
// contains filtered or unexported fields
}
func (ParentDirectoryObjectBoxRepository) Delete ¶
func (repo ParentDirectoryObjectBoxRepository) Delete(dir model.ParentDirectory) error
func (ParentDirectoryObjectBoxRepository) DeleteByPath ¶
func (repo ParentDirectoryObjectBoxRepository) DeleteByPath(path string) error
func (ParentDirectoryObjectBoxRepository) GetAll ¶
func (repo ParentDirectoryObjectBoxRepository) GetAll() ([]*model.ParentDirectory, error)
func (ParentDirectoryObjectBoxRepository) Put ¶
func (parentDirRepo ParentDirectoryObjectBoxRepository) Put(parentDir model.ParentDirectory) (uint64, error)
type ParentDirectoryRepository ¶
type ParentDirectoryRepository interface { Put(model.ParentDirectory) (uint64, error) GetAll() ([]*model.ParentDirectory, error) Delete(model.ParentDirectory) error DeleteByPath(string) error }
func NewParentDirectoryObjectBoxRepository ¶
func NewParentDirectoryObjectBoxRepository(objectbox *objectbox.ObjectBox) ParentDirectoryRepository
Click to show internal directories.
Click to hide internal directories.