Add function storage.algos.directory.directory_get
It will be used in swh-web to fetch a complete directory object, ie. with the raw_manifest and all entries.
Replaces !786 (closed) (same code but with better tests and renamed the function to be more accurate)
Migrated from D7722 (view on Phabricator)