docs/spec: document format of hash in pointer files
To avoid ambiguity, specify the format of the hash in pointer files. This is consistent with what all existing implementations do.
This commit is contained in:
parent
99ef180eea
commit
692926b320
@ -29,7 +29,8 @@ The required keys are:
|
||||
simple string comparison on the version, without any URL parsing or
|
||||
normalization. It is case sensitive, and %-encoding is discouraged.
|
||||
* `oid` tracks the unique object id for the file, prefixed by its hashing
|
||||
method: `{hash-method}:{hash}`. Currently, only `sha256` is supported.
|
||||
method: `{hash-method}:{hash}`. Currently, only `sha256` is supported. The
|
||||
hash is lower case hexadecimal.
|
||||
* `size` is in bytes.
|
||||
|
||||
Example of a v1 text pointer:
|
||||
|
Loading…
Reference in New Issue
Block a user