add notes

This commit is contained in:
Chris Lu 2019-04-16 13:57:45 -07:00
parent 338e6d60a5
commit 4393b99332

View file

@ -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
} }