package
4.7.2+incompatible
Repository: https://github.com/keybase/client.git
Documentation: pkg.go.dev

# Functions

CleanOldDeletedRepos completely removes any "deleted" repos that have been deleted for longer than `minDeletedAgeForCleaning`.
CleanOldDeletedReposTimeLimited is the same as `CleanOldDeletedRepos`, except it limits the time spent on cleaning, deleting as much data as possible within the given time limit (without returning an error).
CreateRepoAndID returns a new stable repo ID for the provided repoName in the given TLF.
DeleteRepo "deletes" the given repo in the given TLF.
GCRepo runs garbage collection on the specified repo, if it exceeds any of the thresholds provided in `options`.
GetOrCreateRepoAndID returns a filesystem object rooted at the specified repo, along with the stable repo ID.
GetRepoAndID returns a filesystem object rooted at the specified repo, along with the stable repo ID, if it already exists.
Init initializes a context and a libkbfs.Config for git operations.
LastGCTime returns the last time the repo was successfully garbage-collected.
NeedsGC checks the given repo storage layer against the given options to see what kinds of GC are needed on the repo.
NewAutogitManager constructs a new AutogitManager instance.
NewBrowser makes a new Browser instance, browsing the given branch of the given repo.
NewGitConfigWithoutRemotesStorer creates a new git config implementation that strips remotes from the config before writing them to disk.
NewOnDemandStorer constructs an on-demand storage layer on top of an existing `Storer`.
NewRPCHandlerWithCtx returns a new instance of a Git RPC handler.
Params returns a set of default parameters for git-related operations, along with a temp directory that should be cleaned after the git work is complete.
RenameRepo renames the repo from an old name to a new name.
StartAutogit launches autogit, and returns a function that should be called on shutdown.
UpdateRepoMD lets the Keybase service know that a repo's MD has been updated.

# Constants

AutogitBranchPrefix is a prefix of a subdirectory name containing one element of a git reference name.
AutogitCommitPrefix is a prefix of a file name containing the full commit hash.
AutogitRoot is the subdirectory name within a TLF where autogit can be accessed.

# Variables

CommitSentinelValue marks the end of a list of commits, where there are still commits that haven't been read.
NullID is an empty ID.

# Structs

AutogitManager can clone and pull source git repos into a destination folder, potentially across different TLFs.
Browser presents the contents of a git repo as a read-only file system, using only the dotgit directory of the repo.
Config is a KBFS git repo config file.
GCOptions describe options foe garbage collection.
GitConfigWithoutRemotesStorer strips remotes from the config before writing them to disk, to work around a gcfg bug (used by go-git when reading configs from disk) that causes a freakout when it sees backslashes in git file URLs.
ID encapsulates a repo ID.
InvalidIDError indicates that a repo ID string is not parseable or invalid.
OnDemandStorer is a wrapper around a storage.Storer that reads encoded objects from disk only when the data is needed, to avoid pulling too much data into memory.
RefData stores the data for a ref.
RPCHandler handles service->KBFS git RPC calls.

# Type aliases

RefDataByName represents a map of reference names to data about that ref.