Skip to content

Commit

Permalink
add space and name to ResourceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Jun 17, 2022
1 parent 8e76b53 commit 3d6d8e7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
9 changes: 9 additions & 0 deletions cs3/storage/provider/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ message ResourceInfo {
// Reference to the container of this resource. If path is relative it MUST be specified, regardless the
// access restrictions to the resource: a subsequent Stat() on it MAY return access denied if appropriate.
ResourceId parent_id = 17;
// OPTIONAL
// The name of the resource.
string name = 18;
// OPTIONAL.
// StorageSpace where this resource is located.
StorageSpace space = 19;
}

// CanonicalMetadata contains extra metadata
Expand Down Expand Up @@ -454,6 +460,9 @@ message StorageSpace {
// OPTIONAL.
// Last modification time (mtime) of the root resource of this storage space.
cs3.types.v1beta1.Timestamp mtime = 8;
// OPTIONAL.
// Resource info for the storage space root.
ResourceInfo root_info = 9;
}

// The id of a storage space.
Expand Down
27 changes: 26 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16976,7 +16976,8 @@ <h3 id="cs3.storage.provider.v1beta1.Grant">Grant</h3>
<td>creator</td>
<td><a href="#cs3.identity.user.v1beta1.UserId">cs3.identity.user.v1beta1.UserId</a></td>
<td></td>
<td><p>The Creator of the grant </p></td>
<td><p>OPTIONAL
The Creator of the grant </p></td>
</tr>

</tbody>
Expand Down Expand Up @@ -17510,6 +17511,22 @@ <h3 id="cs3.storage.provider.v1beta1.ResourceInfo">ResourceInfo</h3>
access restrictions to the resource: a subsequent Stat() on it MAY return access denied if appropriate. </p></td>
</tr>

<tr>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL
The name of the resource. </p></td>
</tr>

<tr>
<td>space</td>
<td><a href="#cs3.storage.provider.v1beta1.StorageSpace">StorageSpace</a></td>
<td></td>
<td><p>OPTIONAL.
StorageSpace where this resource is located. </p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -17737,6 +17754,14 @@ <h3 id="cs3.storage.provider.v1beta1.StorageSpace">StorageSpace</h3>
Last modification time (mtime) of the root resource of this storage space. </p></td>
</tr>

<tr>
<td>root_info</td>
<td><a href="#cs3.storage.provider.v1beta1.ResourceInfo">ResourceInfo</a></td>
<td></td>
<td><p>OPTIONAL.
Resource info for the storage space root. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 3d6d8e7

Please sign in to comment.