refactoring
This commit is contained in:
@@ -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