Versions in this module Expand all Collapse all v1 v1.0.48 May 8, 2018 v1.0.44 Feb 21, 2018 Changes in this version + var CommitSentinelValue *object.Commit + var NullID = ID + func AutogitTLFListDir(tlfType tlf.Type) string + func CleanOldDeletedRepos(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle) (err error) + func CleanOldDeletedReposTimeLimited(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle) error + func DeleteRepo(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) error + func GCRepo(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) (err error) + func Init(ctx context.Context, gitKBFSParams libkbfs.InitParams, kbCtx libkbfs.Context, ...) (context.Context, libkbfs.Config, error) + func LastGCTime(ctx context.Context, fs billy.Filesystem) (time.Time, error) + func NeedsGC(storage storage.Storer, options GCOptions) (doPackRefs bool, numLooseRefs int, doPruneLoose, doObjectRepack bool, ...) + func Params(kbCtx libkbfs.Context, storageRoot string, paramsBase *libkbfs.InitParams) (params libkbfs.InitParams, tempDir string, err error) + func RenameRepo(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) (err error) + func Reset(ctx context.Context, repoFS billy.Filesystem, worktreeFS billy.Filesystem, ...) error + func StartAutogit(kbCtx libkbfs.Context, config libkbfs.Config, ...) func() + func UpdateRepoMD(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) error + type AutogitManager struct + func NewAutogitManager(config libkbfs.Config, kbCtx libkbfs.Context, ...) *AutogitManager + func (am *AutogitManager) BatchChanges(ctx context.Context, _ []libkbfs.NodeChange, affectedNodeIDs []libkbfs.NodeID) + func (am *AutogitManager) Clone(ctx context.Context, srcTLF *libkbfs.TlfHandle, srcRepo, branchName string, ...) (doneCh <-chan struct{}, err error) + func (am *AutogitManager) Delete(ctx context.Context, dstTLF *libkbfs.TlfHandle, dstDir string, ...) (doneCh <-chan struct{}, err error) + func (am *AutogitManager) LocalChange(ctx context.Context, node libkbfs.Node, wr libkbfs.WriteRange) + func (am *AutogitManager) Pull(ctx context.Context, srcTLF *libkbfs.TlfHandle, srcRepo, branchName string, ...) (doneCh <-chan struct{}, err error) + func (am *AutogitManager) Shutdown() + func (am *AutogitManager) TlfHandleChange(ctx context.Context, newHandle *libkbfs.TlfHandle) + type Config struct + CreatorUID string + Ctime int64 + ID ID + Name string + type GCOptions struct + MaxLooseRefs int + MaxObjectPacks int + PruneExpireTime time.Time + PruneMinLooseObjects int + type GitConfigWithoutRemotesStorer struct + func NewGitConfigWithoutRemotesStorer(fs *libfs.FS) (*GitConfigWithoutRemotesStorer, error) + func (cwrs *GitConfigWithoutRemotesStorer) Config() (*gogitcfg.Config, error) + func (cwrs *GitConfigWithoutRemotesStorer) Init() error + func (cwrs *GitConfigWithoutRemotesStorer) SetConfig(c *gogitcfg.Config) (err error) + type ID struct + func CreateRepoAndID(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) (ID, error) + func GetOrCreateRepoAndID(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) (*libfs.FS, ID, error) + func GetRepoAndID(ctx context.Context, config libkbfs.Config, tlfHandle *libkbfs.TlfHandle, ...) (*libfs.FS, ID, error) + func (id *ID) UnmarshalBinary(data []byte) error + func (id *ID) UnmarshalText(buf []byte) error + func (id ID) Bytes() []byte + func (id ID) MarshalBinary() (data []byte, err error) + func (id ID) MarshalText() ([]byte, error) + func (id ID) String() string + type InvalidIDError struct + func (e InvalidIDError) Error() string + type OnDemandStorer struct + func NewOnDemandStorer(s storage.Storer) (*OnDemandStorer, error) + func (ods *OnDemandStorer) DeltaObject(ot plumbing.ObjectType, hash plumbing.Hash) (plumbing.EncodedObject, error) + func (ods *OnDemandStorer) EncodedObject(ot plumbing.ObjectType, hash plumbing.Hash) (plumbing.EncodedObject, error) + type RPCHandler struct + func NewRPCHandlerWithCtx(kbCtx libkbfs.Context, config libkbfs.Config, ...) (*RPCHandler, func()) + func (rh *RPCHandler) CreateRepo(ctx context.Context, arg keybase1.CreateRepoArg) (id keybase1.RepoID, err error) + func (rh *RPCHandler) DeleteRepo(ctx context.Context, arg keybase1.DeleteRepoArg) (err error) + func (rh *RPCHandler) Gc(ctx context.Context, arg keybase1.GcArg) (err error) + func (rh *RPCHandler) RenameRepo(ctx context.Context, folder keybase1.Folder, oldName, newName string) (err error) + type RefData struct + Commits []*object.Commit + IsDelete bool + type RefDataByName map[plumbing.ReferenceName]*RefData Incompatible versions in this module v2.11.0+incompatible Nov 30, 2018