Skip to content

Commit 1185efc

Browse files
committed
cmd ref: improve note about verify option and add it to remote add-> GDrive
per #937 (comment)
1 parent 2d6ad58 commit 1185efc

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

public/static/docs/command-reference/remote/add.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ drive is opened. For example, for the URL
240240
$ dvc remote add myremote gdrive://0AIac4JZqHhKmUk9PDA/my-dvc-root
241241
```
242242

243+
Note that GDrive remotes are not "trusted" by default. This means that the
244+
[`verify`](`/doc/command-reference/remote/modify#available-settings-for-all-remotes`)
245+
option is enabled on this type of storage, so DVC recalculates the checksums of
246+
files upon download (e.g. `dvc pull`), to make sure that these haven't been
247+
modified.
248+
243249
</details>
244250

245251
<details>

public/static/docs/command-reference/remote/modify.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@ manual editing could be used to change the configuration.
6363

6464
The following options are available for all remote types:
6565

66-
- `verify` - upon downloading cache files (`dvc pull`, `dvc fetch`) DVC will
67-
recalculate downloaded file checksums to make sure that these are not
68-
corrupted or modified during download. It may slow down the aforementioned
69-
commands.
66+
- `verify` - upon downloading <abbr>cache</abbr> files (`dvc pull`, `dvc fetch`)
67+
DVC will recalculate the checksums of files upon download (e.g. `dvc pull`) to
68+
make sure that these haven't been modified, or corrupted during download. It
69+
may slow down the aforementioned commands.
70+
71+
> Note that this option is enabled on **Google Drive** remotes by default.
7072
7173
```dvc
7274
$ dvc remote modify myremote verify true

0 commit comments

Comments
 (0)