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(client *pachclient.APIClient, root string, commit *pfs.Commit, diffMethod *pfs.DiffMethod, shard *pfs.Shard, pipes bool) error
Pull clones an entire repo at a certain commit
root is the local path you want to clone to commit is the commit you want to clone shard and diffMethod get passed to ListFile and GetFile. See documentations for those functions for details on these arguments. 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.