0 purchases
reflinkcopy 0.3.1
reflink-copy
Python wrapper for reflink-copy.
Installation
You can install the library via pip from PyPI:
pip install reflink-copy
Usage
from reflink_copy import reflink, reflink_or_copy
reflink("file1", "file2")
reflink_or_copy("file1", "file2")
Reference
def reflink(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...
def reflink_or_copy(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...
Contributing
python -m venv .venv; source .venv/bin/activate
pip install maturin
maturin develop
pytest
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.