Documentation ¶
Index ¶
- type FolderChildFiles
- type FolderFileFrame
- type FolderGroup
- type FolderHandler
- func (f *FolderHandler) AddChildDirs(childNames []string) ([]sdk.Msg, []string, error)
- func (f *FolderHandler) AddChildFileReferences(newFiles FolderChildFiles) (sdk.Msg, error)
- func (f *FolderHandler) GetChildDirs() []string
- func (f *FolderHandler) GetChildFiles() FolderChildFiles
- func (f *FolderHandler) GetChildMerkle(child string) string
- func (f *FolderHandler) GetFolderDetails() FolderFileFrame
- func (f *FolderHandler) GetForFiletree() (sdk.Msg, error)
- func (f *FolderHandler) GetMyChildPath(child string) string
- func (f *FolderHandler) GetMyPath() string
- func (f *FolderHandler) GetWhereAmI() string
- func (f *FolderHandler) GetWhoAmI() string
- func (f *FolderHandler) GetWhoOwnsMe() string
- func (f *FolderHandler) MakeChildDirInfo(childName string) (myName string, myParent string, myOwner string)
- func (f *FolderHandler) RemoveChildDirReferences(toRemove []string) (sdk.Msg, error)
- func (f *FolderHandler) RemoveChildFileReferences(toRemove []string) (sdk.Msg, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FolderChildFiles ¶
type FolderFileFrame ¶
type FolderFileFrame struct { WhoAmI string `json:"whoAmI"` WhereAmI string `json:"whereAmI"` WhoOwnsMe string `json:"whoOwnsMe"` DirChildren []string `json:"dirChildren"` FileChildren FolderChildFiles `json:"fileChildren"` }
type FolderGroup ¶
type FolderGroup map[string]*FolderHandler
type FolderHandler ¶
type FolderHandler struct {
// contains filtered or unexported fields
}
func NewFolderHandler ¶
func NewFolderHandler(frame FolderFileFrame, wallet *wallet_handler.WalletHandler) *FolderHandler
func TrackFolder ¶
func TrackFolder(dirInfo FolderFileFrame, wallet *wallet_handler.WalletHandler) *FolderHandler
func TrackNewFolder ¶
func TrackNewFolder(myName string, myParent string, myOwner string, wallet *wallet_handler.WalletHandler) *FolderHandler
func (*FolderHandler) AddChildDirs ¶
func (*FolderHandler) AddChildFileReferences ¶
func (f *FolderHandler) AddChildFileReferences(newFiles FolderChildFiles) (sdk.Msg, error)
func (*FolderHandler) GetChildDirs ¶
func (f *FolderHandler) GetChildDirs() []string
func (*FolderHandler) GetChildFiles ¶
func (f *FolderHandler) GetChildFiles() FolderChildFiles
func (*FolderHandler) GetChildMerkle ¶
func (f *FolderHandler) GetChildMerkle(child string) string
func (*FolderHandler) GetFolderDetails ¶
func (f *FolderHandler) GetFolderDetails() FolderFileFrame
func (*FolderHandler) GetForFiletree ¶
func (f *FolderHandler) GetForFiletree() (sdk.Msg, error)
func (*FolderHandler) GetMyChildPath ¶
func (f *FolderHandler) GetMyChildPath(child string) string
func (*FolderHandler) GetMyPath ¶
func (f *FolderHandler) GetMyPath() string
func (*FolderHandler) GetWhereAmI ¶
func (f *FolderHandler) GetWhereAmI() string
func (*FolderHandler) GetWhoAmI ¶
func (f *FolderHandler) GetWhoAmI() string
func (*FolderHandler) GetWhoOwnsMe ¶
func (f *FolderHandler) GetWhoOwnsMe() string
func (*FolderHandler) MakeChildDirInfo ¶
func (f *FolderHandler) MakeChildDirInfo(childName string) (myName string, myParent string, myOwner string)
func (*FolderHandler) RemoveChildDirReferences ¶
func (f *FolderHandler) RemoveChildDirReferences(toRemove []string) (sdk.Msg, error)
func (*FolderHandler) RemoveChildFileReferences ¶
func (f *FolderHandler) RemoveChildFileReferences(toRemove []string) (sdk.Msg, error)
Click to show internal directories.
Click to hide internal directories.