3.15. lfc-replace-dvc: Replace any DVC settings and file names

Although LFC can work in an existing DVC repo, using lfc-add will break DVC’s ability to function. It is usually preferable to make a repo where you intend to use LFC use the .lfc file extension instead of .dvc. This command removes some DVC artifacts and rename others.

This will rename some files and folders:

  • .dvc/ -> .lfc/

  • *.dvc -> *.lfc

It will also delete some JSON files used by DVC if present.

The function is safe to call multiple times if DVC has been partially replaced. If there are no DVC artifacts, this function will take no action.

It does not recompute hashes. If any existing MD-5 hashes are present, LFC will continue to use them, but updating the file (using lfc add) will still use a SHA-256 hash.

Usage:
$ lfc replace-dvc [OPTIONS]
Options:
-h, --help

Display this help message and exit