package
0.0.0-20181128152223-27a526a7da6f
Repository: https://github.com/src-d/core-retrieval.git
Documentation: pkg.go.dev
# Functions
NewCopier creates a new copier.
NewHDFSFs returns a filesystem that can access a HDFS cluster.
NewLocalFs returns a local file system.
NewSivaRootedTransactioner returns a RootedTransactioner for repositories stored in the given billy.Filesystem (using siva file format), and uses a second billy.Filesystem as temporary storage for in-progress transactions.
NewSivaRootedTransactionerWithCache creates a new RootedTransactioner where you can specify its cache.
# Variables
ErrCopyCancelled is returned when a copy is cancelled.
HDFSNamenodeError is returned when there is a namenode error.
# Structs
Copier is in charge of copying files from a local filesystem to the remote one and vice-versa.
# Interfaces
Fs is a filesystem implementation that has some operations such as opening files, opening file writers, renaming, etc.
RootedTransactioner can initiate transactions on rooted repositories.
Tx is a transaction on a repository.