code: func (legacyStorageImpl) GetMetadata(c context.Context, prefix string) ([]*api.PrefixMetadata, error) {
  	md, _, err := getMetadataImpl(c, prefix)
  	return md, err
  }
docs: // GetMetadata is part of Storage interface.
  //
  // For each subprefix in 'prefix' (e.g. for "a/b/c" it would be "a", "a/b", ...)
  // it fetches a bunch of packageACL entities (one per possible role), and merges
  // them into single PrefixMetadata object, thus faking new metadata API on top
  // of legacy entities.
  //
  // The result also always includes the hardcoded root metadata.