Home
last modified time | relevance | path

Searched refs:osFs (Results 1 – 4 of 4) sorted by relevance

/build/blueprint/pathtools/
Dfs.go39 var OsFs FileSystem = &osFs{}
126 type osFs struct { struct
131 return &osFs{srcDir: path}
134 func (fs *osFs) toAbs(path string) string { argument
141 func (fs *osFs) removeSrcDirPrefix(path string) string { argument
157 func (fs *osFs) removeSrcDirPrefixes(paths []string) []string { argument
166 func (fs *osFs) Open(name string) (ReaderAtSeekerCloser, error) { argument
170 func (fs *osFs) Exists(name string) (bool, bool, error) { argument
181 func (fs *osFs) IsDir(name string) (bool, error) { argument
189 func (fs *osFs) IsSymlink(name string) (bool, error) { argument
[all …]
/build/soong/finder/fs/
Dfs_darwin.go24 func (osFs) InodeNumber(info os.FileInfo) (number uint64, err error) {
33 func (osFs) DeviceNumber(info os.FileInfo) (number uint64, err error) {
42 func (osFs) PermTime(info os.FileInfo) (when time.Time, err error) {
Dfs_linux.go24 func (osFs) InodeNumber(info os.FileInfo) (number uint64, err error) {
33 func (osFs) DeviceNumber(info os.FileInfo) (number uint64, err error) {
42 func (osFs) PermTime(info os.FileInfo) (when time.Time, err error) {
Dfs.go30 var OsFs FileSystem = osFs{}
93 type osFs struct{} struct
95 var _ FileSystem = (*osFs)(nil)
97 func (osFs) Open(name string) (io.ReadCloser, error) { return os.Open(name) } argument
99 func (osFs) Lstat(path string) (stats os.FileInfo, err error) { argument
103 func (osFs) Stat(path string) (stats os.FileInfo, err error) { argument
107 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) { argument
119 func (osFs) Rename(oldPath string, newPath string) error { argument
123 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error { argument
127 func (osFs) Remove(path string) error { argument
[all …]