mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 04:37:23 +08:00
add notes
This commit is contained in:
@@ -57,6 +57,8 @@ func (f *Filer) DeleteChunks(fullpath FullPath, chunks []*filer_pb.FileChunk) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeleteFileByFileId direct delete by file id.
|
||||||
|
// Only used when the fileId is not being managed by snapshots.
|
||||||
func (f *Filer) DeleteFileByFileId(fileId string) {
|
func (f *Filer) DeleteFileByFileId(fileId string) {
|
||||||
f.fileIdDeletionChan <- fileId
|
f.fileIdDeletionChan <- fileId
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user