|
|
@ -98,7 +98,7 @@ qaFXpxVTuYCuibb9P41VSeVn4pIaK8o3jUpJKqI4VF4= (4kb) |
|
|
|
|
|
|
|
The file is then added to `filelist.json`, which now looks like this: |
|
|
|
|
|
|
|
``` |
|
|
|
```json |
|
|
|
[ |
|
|
|
{ |
|
|
|
"type": "Folder", |
|
|
@ -130,7 +130,7 @@ Additionally, a file hash is computed, but unlike a small file, the file hash is |
|
|
|
|
|
|
|
We could choose to store these values directly in `filelist.json`, for example: |
|
|
|
|
|
|
|
``` |
|
|
|
```json |
|
|
|
{ |
|
|
|
"type": "File", |
|
|
|
"path": "C:\\data\\myvideo.mp4", |
|
|
@ -162,7 +162,7 @@ Uo1f4rVjNRX10HkxQxXauCrRv0wJOvStqt9gaUT0uPA= (96b) |
|
|
|
|
|
|
|
The new file entry is then stored in filelist, which then looks like: |
|
|
|
|
|
|
|
``` |
|
|
|
```json |
|
|
|
[ |
|
|
|
{ |
|
|
|
"type": "Folder", |
|
|
@ -208,7 +208,7 @@ We chose to omit this part based on a number of observations: |
|
|
|
|
|
|
|
This means that an additional entry for `C:\data\extra\olddoc.tx` will occur in `filelist.json`: |
|
|
|
|
|
|
|
``` |
|
|
|
```json |
|
|
|
[ |
|
|
|
{ |
|
|
|
"type": "Folder", |
|
|
@ -247,7 +247,7 @@ This approach is also known as [deduplication](https://en.wikipedia.org/wiki/Dat |
|
|
|
|
|
|
|
The final contents of `filelist.json` is then: |
|
|
|
|
|
|
|
``` |
|
|
|
```json |
|
|
|
[ |
|
|
|
{ |
|
|
|
"type": "Folder", |
|
|
|