Home
last modified time | relevance | path

Searched defs:mapFileInfo (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/testing/fstest/
Dmapfs.go148 type mapFileInfo struct { struct
149 name string
150 f *MapFile
153 func (i *mapFileInfo) Name() string { return path.Base(i.name) }
154 func (i *mapFileInfo) Size() int64 { return int64(len(i.f.Data)) }
155 func (i *mapFileInfo) Mode() fs.FileMode { return i.f.Mode }
156 func (i *mapFileInfo) Type() fs.FileMode { return i.f.Mode.Type() }
157 func (i *mapFileInfo) ModTime() time.Time { return i.f.ModTime }
158 func (i *mapFileInfo) IsDir() bool { return i.f.Mode&fs.ModeDir != 0 }
159 func (i *mapFileInfo) Sys() any { return i.f.Sys }
[all …]