Mike made a good point that the index.json could be more trouble than it's worth. This PR does the following things:
Deprecates index.json
Introduces the concept of a "folder extension"
Assigns the .objs extension to object-store folders
Assigns the .keys extension to key-store folders (which are not yet specced)
Restructures the object-store to use a custom index.json
Adds schema-url normalization
The new index.json in the .objs folder creates a directory for the various objects folders, which I realized is going to be pretty important for lookups. In the previous iteration, we would've had to scan the folders and check each of their metadata files.
Closes #13 and #14
Mike made a good point that the
index.json
could be more trouble than it's worth. This PR does the following things:index.json
.objs
extension to object-store folders.keys
extension to key-store folders (which are not yet specced)index.json
The new
index.json
in the.objs
folder creates a directory for the various objects folders, which I realized is going to be pretty important for lookups. In the previous iteration, we would've had to scan the folders and check each of their metadata files.Thanks @webdesserts !