mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 22:11:39 +02:00
refactoring
This commit is contained in:
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")
|
||||
}
|
||||
Reference in new issue
Block a user