Documentation ¶
Overview ¶
Package sync provides utility functions similar to `git pull/push` for PFS
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pull ¶
func Pull(ctx context.Context, client *pachclient.APIClient, root string, fileInfo *pfs.FileInfo, pipes bool, concurrency int) (retErr error)
Pull clones an entire repo at a certain commit.
root is the local path you want to clone to. fileInfo is the file/dir we are puuling. pipes causes the function to create named pipes in place of files, thus lazily downloading the data as it's needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.