Skip to content

Commit

Permalink
Added method to storage FS interface
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jun 23, 2021
1 parent 7842ce6 commit 532ae59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"io"
"net/url"

grouppb "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
registry "github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1"
)
Expand All @@ -47,6 +48,7 @@ type FS interface {
PurgeRecycleItem(ctx context.Context, key string) error
EmptyRecycle(ctx context.Context) error
GetPathByID(ctx context.Context, id *provider.ResourceId) (string, error)
GetOwners(ctx context.Context, ref *provider.Reference) (*grouppb.Group, error)
AddGrant(ctx context.Context, ref *provider.Reference, g *provider.Grant) error
RemoveGrant(ctx context.Context, ref *provider.Reference, g *provider.Grant) error
UpdateGrant(ctx context.Context, ref *provider.Reference, g *provider.Grant) error
Expand Down

0 comments on commit 532ae59

Please sign in to comment.