Skip to content

Commit b9a0075

Browse files
authored
Merge pull request #42 from proximax-storage/feat/fs_clear
add drive id param to clear method
2 parents 3e6557f + 063dea8 commit b9a0075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drive_fs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ type DriveFS interface {
6363
// Flush pushes state of the local Drive to all replicators
6464
Flush(ctx context.Context, id idrive.ID) error
6565

66-
// Clear clears all files locally
67-
Clear(ctx context.Context, opts ...DriveOption) error
66+
// Clear clears all drive files locally
67+
Clear(ctx context.Context, id idrive.ID, opts ...DriveOption) error
6868
}

0 commit comments

Comments
 (0)