Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, options StartOptions, kbCtx libkbfs.Context, defaultLogPath string, input io.Reader, output io.Writer, errput io.Writer) ( retErr *libfs.Error)
Start starts the kbfsgit logic, and begins listening for git commands from `input` and responding to them via `output`.
Types ¶
type StartOptions ¶
type StartOptions struct { KbfsParams libkbfs.InitParams // Remote is the name that the caller's repo (on local disk) has // assigned to the KBFS-based repo. Remote string // Repo is the URL the caller's repo (on local disk) is trying to // access, in the form "keybase://private/user/reponame". Repo string // GitDir is the filepath leading to the .git directory of the // caller's local on-disk repo. GitDir string }
StartOptions are options for starting up.
Click to show internal directories.
Click to hide internal directories.