refactoring

This commit is contained in:
Chris Lu committed 2019-12-08 19:44:16 -08:00
1 parent 2b8e20f122
commit 10bd3c6b4b
10 files changed
+15 -24

No files matched your search

@@ -55,10 +55,6 @@ func (mmf *MemoryMappedFile) GetStat() (datSize int64, modTime time.Time, err er
return 0, time.Time{}, err
}
func (mmf *MemoryMappedFile) String() string {
func (mmf *MemoryMappedFile) Name() string {
return mmf.mm.File.Name()
}
func (mmf *MemoryMappedFile) Instantiate(src *os.File) error {
panic("should not implement Instantiate for MemoryMappedFile")
}