mirror of
https://github.com/Luzifer/share.git
synced 2024-12-29 23:11:18 +00:00
Docs: Reflect change to SHA256 hashes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b23b7b937b
commit
9e317a83bc
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ You can specify where in the bucket the file should be stored and how it should
|
||||||
|
|
||||||
- `{{ .Ext }}` - The extension of the file (including the leading dot, i.e. `.txt`)
|
- `{{ .Ext }}` - The extension of the file (including the leading dot, i.e. `.txt`)
|
||||||
- `{{ .FileName }}` - The original filename without changes (i.e. `my video.mp4`)
|
- `{{ .FileName }}` - The original filename without changes (i.e. `my video.mp4`)
|
||||||
- `{{ .Hash }}` - The SHA1 hash of the file content
|
- `{{ .Hash }}` - The SHA256 hash of the file content
|
||||||
- `{{ .SafeFileName }}` - URL-safe version of the filename (i.e. `my-video.mp4`)
|
- `{{ .SafeFileName }}` - URL-safe version of the filename (i.e. `my-video.mp4`)
|
||||||
- `{{ .UUID }}` - Random UUIDv4 to be used within the URL to make it hard to guess
|
- `{{ .UUID }}` - Random UUIDv4 to be used within the URL to make it hard to guess
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue