Documentation ¶ Index ¶ type Error type Input type Output func Clone(ctx context.Context, input Input) (Output, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Error ¶ type Error struct { Details string // contains filtered or unexported fields } type Input ¶ type Input struct { // WorkDir is where results will be stored: // - {WorkDir}/cloned: stores the result of `git clone` WorkDir string // GitURL to clone. GitURL string } type Output ¶ type Output struct { Success bool ClonedIntoDir string } func Clone ¶ func Clone(ctx context.Context, input Input) (Output, error) Source Files ¶ View all Source files clone.go Click to show internal directories. Click to hide internal directories.