-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Was looking at your current output which looks like
{
"files": {
"example1.png": {
"hash": "70740a80c43a42beecc70b4e9e1e8f2e25272e1e5fc15f691266848e9359403f",
"size": 28778
},
"example2.png": {
"hash": "cee5298da94a413da7e5e718a9c36c02feefe42904bac13f819b7021f8612f1d",
"size": 14256
},
"example3.png": {
"hash": "75f20a9723d5597404e9ffac44f8e26429f3a125898e6a4b9ea4c80aff9a1b28",
"size": 27745
}
}
}While I'm not expecting a manifest to be infinitely extensible, maybe you want to make it so you can evolve the hash?
So perhaps you would prefer this manifest format instead?
{
"version": 1,
"defaults": {
"hash": "blake3"
},
"files": {
"example1.png": {
"hash": "70740a80c43a42beecc70b4e9e1e8f2e25272e1e5fc15f691266848e9359403f",
"size": 28778
},
"example2.png": {
"hash": {
"blake3": "cee5298da94a413da7e5e718a9c36c02feefe42904bac13f819b7021f8612f1d",
"sha256": "8d969eef6ecad3c29a3a629280e686cf"
},
"size": 14256
}
}
}Plus versioning would help in maintenance.
Is there a file format documentation, perhaps you may also want this format to include description, timestamp, etc...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels