commands

package
v0.40.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package commands contains the command functions executed based on the git-dolt subcommand specified on the command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ptrFname string) error

Fetch takes the filename of a git-dolt pointer file and clones the specified dolt repository to the specified revision.

func Install

func Install() error

Install configures this git repository for use with git-dolt; specifically, it sets up the smudge filter that automatically clones dolt repos when git-dolt pointer files are checked out.

func Link(remote string) error

Link creates a git-dolt pointer file linking the given dolt remote to the current git repository.

func Update

func Update(ptrFname string, revision string) error

Update updates the git-dolt pointer file at the given filename to point to the specified revision.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL