Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Name string FolderType keybase1.FolderType Private bool TeamID *keybase1.TeamID ResetMembers []keybase1.User // Mtime is the TLF mtime (i.e. not favorite change time) stored in the // core db. It's based on notifications from the mdserver. TlfMtime *keybase1.Time }
Data represents the auxiliary data belonging to a KBFS favorite.
type Folder ¶
Folder is a top-level favorited folder name.
func NewFolderFromProtocol ¶
NewFolderFromProtocol creates a Folder from a keybase1.Folder.
func (Folder) ToKBFolderHandle ¶
func (f Folder) ToKBFolderHandle(created bool) keybase1.FolderHandle
ToKBFolderHandle creates a keybase1.FolderHandle from a Folder.
type ToAdd ¶
type ToAdd struct { Folder Folder Data Data // Created, if set to true, indicates that this is the first time // the TLF has ever existed. It is only used when adding the TLF // to favorites Created bool }
ToAdd contains the data needed to add a new favorite to the favorites list.
func (ToAdd) ToKBFolderHandle ¶
func (ta ToAdd) ToKBFolderHandle() keybase1.FolderHandle
ToKBFolderHandle converts this data into an object suitable for the keybase1 protocol.
Click to show internal directories.
Click to hide internal directories.