annex

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BYTE     = 1.0
	KILOBYTE = 1024 * BYTE
	MEGABYTE = 1024 * KILOBYTE
	GIGABYTE = 1024 * MEGABYTE
	TERABYTE = 1024 * GIGABYTE
)

Variables

This section is empty.

Functions

func ASync

func ASync(dir string, args ...string) (string, error)

func Add

func Add(dir string, args ...string) (string, error)

func Init

func Init(dir string, args ...string) (string, error)

func MD5

func MD5(dir string) (string, error)

func SetAddUnlocked

func SetAddUnlocked(dir string) (string, error)

func SetAnnexSizeFilter

func SetAnnexSizeFilter(dir string, size int64) (string, error)

func Uninit

func Uninit(dir string, args ...string) (string, error)

func Upgrade

func Upgrade(dir string) (string, error)

func Worm

func Worm(dir string) (string, error)

Types

type AFile

type AFile struct {
	Filepath  string
	OFilename string
	Info      os.FileInfo
}

func NewAFile

func NewAFile(annexpath, repopath, Ofilename string, APFileC []byte) (*AFile, error)

func (*AFile) Open

func (af *AFile) Open() (*os.File, error)

type AnnexFileNotFound

type AnnexFileNotFound struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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