# Functions
BuildCanonicalPath returns a canonical path for a path components.
BuildCanonicalPathForTlf returns a canonical path for a tlf.
BuildCanonicalPathForTlfName returns a canonical path for a tlf.
BuildCanonicalPathForTlfType is like BuildCanonicalPath, but accepts a tlf.Type instead of PathType.
BuildProtocolPathForTlfName builds a `keybase1.Path` for the given TLF type and name.
CheckHandleOffline does light checks whether a TLF handle looks ok, it avoids all network calls.
GetExtendedIdentify returns the extended identify info associated with the given context.
IdentifyHandle identifies the canonical names in the given handle.
IdentifyUserList identifies the users in the given list.
MakeExtendedIdentify populates a context with an ExtendedIdentify directive.
MakeHandle creates a Handle from the given tlf.Handle and the given NormalizedUsernameGetter (which is usually a KBPKI).
MakeHandleWithTlfID is like `MakeHandle`, but it ensures the handle's TLF ID is always set to `tlfID`, even if it corresponds to an implicit team for which the iteam settings don't yet contain a TLF ID (due to a cross-device race or certain testing scenarios).
NewHandle returns a simple new Handle based on the given fields.
NewReadAccessError constructs a ReadAccessError for the given directory and user.
NewWriteAccessError is an access error trying to write a file.
ParseHandle parses a Handle from an encoded string.
ParseHandlePreferred returns idutil.TlfNameNotCanonical if not in the preferred format.
ParseHandlePreferredQuick parses a handle from a name, without doing this time consuming checks needed for implicit-team checking or TLF-ID-fetching.
# Constants
KeybasePathType is the keybase root (like /keybase).
PrivatePathType is the keybase private folder list (like /keybase/private).
PublicPathType is the keybase public folder list (like /keybase/public).
SingleTeamPathType is the keybase team folder list (like /keybase/teams).
# Structs
ConstIDGetter is an IDGetter that always returns the same TLF ID.
ExtendedIdentify is a struct to track the behavior and results of an identify.
ExtendedIdentifyAlreadyExists is returned when MakeExtendedIdentify is called on a context already with ExtendedIdentify.
Handle contains all the info in a tlf.Handle as well as additional info.
HandleFinalizedError is returned when something attempts to modify a finalized TLF handle.
HandleMismatchError indicates an inconsistent or unverifiable MD object for the given top-level folder.
NoSuchNameError indicates that the user tried to access a TLF that doesn't exist.
ReadAccessError indicates that the user tried to read from a top-level folder without read permission.
WriteAccessError indicates an error when trying to write a file.
# Interfaces
IDGetter is an interface for resolving TLF handles to their TLF IDs.
# Type aliases
PathType describes the types for different paths.