|
1 | 1 | # DVCFileSystem |
2 | 2 |
|
3 | 3 | DVCFileSystem provides a pythonic file interface ( |
4 | | -[fsspec-compatible](https://filesystem-spec.readthedocs.io/)) for a DVC repo. It |
5 | | -is a read-only filesystem, hence it does not support any write operations, like |
6 | | -`put_file`, `cp`, `rm`, `mv`, `mkdir` etc. |
| 4 | +[fsspec-compatible](https://filesystem-spec.readthedocs.io/en/latest/)) for a |
| 5 | +DVC repo. It is a read-only filesystem, hence it does not support any write |
| 6 | +operations, like `put_file`, `cp`, `rm`, `mv`, `mkdir` etc. |
7 | 7 |
|
8 | 8 | ```py |
9 | 9 | class DVCFileSystem(AbstractFileSystem): |
@@ -172,14 +172,15 @@ subdirectory. |
172 | 172 |
|
173 | 173 | ## fsspec API Reference |
174 | 174 |
|
175 | | -As DVCFileSystem is based on [fsspec](https://filesystem-spec.readthedocs.io/), |
176 | | -it is compatible with most of the APIs that it offers. When DVC is installed in |
177 | | -the same Python environment as any other fsspec-compatible library (such as |
178 | | -[Hugging Face Datasets][hf-datasets]), DVCFileSystem will be used automatically |
179 | | -when a `dvc://` filesystem URL is provided to fsspec function calls. For more |
180 | | -details check out the fsspec's [API Reference][fsspec-api]. |
| 175 | +As DVCFileSystem is based on |
| 176 | +[fsspec](https://filesystem-spec.readthedocs.io/en/latest/), it is compatible |
| 177 | +with most of the APIs that it offers. When DVC is installed in the same Python |
| 178 | +environment as any other fsspec-compatible library (such as [Hugging Face |
| 179 | +Datasets][hf-datasets]), DVCFileSystem will be used automatically when a |
| 180 | +`dvc://` filesystem URL is provided to fsspec function calls. For more details |
| 181 | +check out the fsspec's [API Reference][fsspec-api]. |
181 | 182 |
|
182 | | -[fsspec]: https://filesystem-spec.readthedocs.io/ |
| 183 | +[fsspec]: https://filesystem-spec.readthedocs.io/en/latest/ |
183 | 184 | [fsspec-api]: |
184 | 185 | https://filesystem-spec.readthedocs.io/en/latest/api.html#fsspec.spec.AbstractFileSystem |
185 | 186 | [hf-datasets]: /user-guide/integrations/huggingface#hugging-face-datasets |
|
0 commit comments