Updated Path Specific Filer Store (markdown)

Chris Lu 2020-12-21 23:12:52 -08:00
parent bf346c8ab2
commit 786c13fe50

@ -43,9 +43,7 @@ This only works for new data or new updates. Existing data for old directories w
# Data Storage # Data Storage
The directory path stored in the path-specific filer store has the `location` prefix trimmed and persists to the store. For example, the file `/my/home/tmp/file.txt` stored in path-specific filer store with the `location = "/my/home/" will only store "/tmp/file.txt" to the store. The directory path stored in the path-specific filer store has the `location` prefix trimmed and persists to the store. For example, if `location = "/my/home/"`, the file `/my/home/tmp/file.txt` will only store as "/tmp/file.txt". When reading back, the prefix will be transparently added back.
When reading back, the prefix will be transparently added back.
This trimming saves some storage, but that is not the purpose. This means the path-specific filer store can later change `location` to another directory, or even another filer. This trimming saves some storage, but that is not the purpose. This means the path-specific filer store can later change `location` to another directory, or even another filer.