mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add notes
This commit is contained in:
parent
338e6d60a5
commit
4393b99332
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue