Xvc seamlessly monitors your files and directories on top of Git. To commence, execute the following command within the repository: This command calcu

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-19 20:00:07

Xvc seamlessly monitors your files and directories on top of Git. To commence, execute the following command within the repository:

This command calculates content hashes for data (using BLAKE-3, by default) and logs them. The changes are committed to Git, and the files are copied to content-addressed directories within .xvc/b3. Additionally, read-only symbolic links to these directories are created.

You can specify different recheck (checkout) methods for files and directories, depending on your use case. If you need to track model files that change frequently, you can set recheck method --as copy (the default).

When you (or someone else) want to access these files later, you can clone the Git repository and get the files from the storage.

You don't have to reconfigure the storage after cloning, but you need to have valid credentials as environment variables to access the storage. Xvc never stores any credentials.

The script uses the Faker library and this library must be available where you run the pipeline. To make it repeatable, we start the pipeline by adding a step that installs dependencies.

Leave a Comment