Documentation
¶
Index ¶
- func WalkOnFsPath(root *FileNode, absolutePath connector.Path, wg *sync.WaitGroup, ...)
- type DateType
- type ExtraPayload
- type FileNode
- func (fn *FileNode) Create(fromPath connector.Path, absolutePath connector.Path, ...) (*FileNode, error)
- func (fn *FileNode) Move(fromPath connector.Path, toPath connector.Path) (*FileNode, error)
- func (fn *FileNode) Remove(fromPath connector.Path) (deletedNode *FileNode, err error)
- func (fn *FileNode) RemoveByUUID(uuid string, parentUUID string) (*FileNode, error)
- func (fn *FileNode) Rename(fromPath connector.Path, toPath connector.Path) (*FileNode, error)
- func (fn *FileNode) Search(path string) *FileNode
- func (fn *FileNode) SearchByUUID(uuid string) *FileNode
- func (fn *FileNode) SumUpdate(absolutePath connector.Path) error
- func (fn *FileNode) Update(fromPath connector.Path, absolutePath connector.Path) (*FileNode, error)
- func (fn *FileNode) UpdateWithExtra(extra ExtraPayload)
- type MetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WalkOnFsPath ¶
Types ¶
type ExtraPayload ¶
type FileNode ¶
type FileNode struct { Subs []*FileNode `json:"subs"` Name string `json:"name"` UUID string `json:"uuid"` ParentUUID string `json:"parent_uuid"` Meta MetaData `json:"meta"` }
func (*FileNode) RemoveByUUID ¶
func (*FileNode) SearchByUUID ¶
func (*FileNode) UpdateWithExtra ¶
func (fn *FileNode) UpdateWithExtra(extra ExtraPayload)
Click to show internal directories.
Click to hide internal directories.