diff --git a/files/client.go b/files/client.go index 101fbd3b..b1a0781c 100644 --- a/files/client.go +++ b/files/client.go @@ -180,6 +180,12 @@ func (c *Client) MarkFileDecrypted(ctx context.Context, path string, etag string ETag: etag, }) } +func (c *Client) MarkFileMoved(ctx context.Context, path string, etag string) error { + return c.PatchFile(ctx, path, FilePatch{ + State: "MOVED", + ETag: etag, + }) +} func (c *Client) MarkFilePublished(ctx context.Context, path string, etag string) error { return c.PatchFile(ctx, path, FilePatch{ State: "PUBLISHED",