Home
last modified time | relevance | path

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

/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{}
92 type osFs struct{} struct
94 var _ FileSystem = (*osFs)(nil)
96 func (osFs) Open(name string) (io.ReadCloser, error) { return os.Open(name) } argument
98 func (osFs) Lstat(path string) (stats os.FileInfo, err error) { argument
102 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) { argument
114 func (osFs) Rename(oldPath string, newPath string) error { argument
118 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error { argument
122 func (osFs) Remove(path string) error { argument
126 func (osFs) RemoveAll(path string) error { argument
[all …]
/build/blueprint/pathtools/
Dfs.go39 var OsFs FileSystem = osFs{}
123 type osFs struct{} struct
125 func (osFs) Open(name string) (ReaderAtSeekerCloser, error) { return os.Open(name) } argument
126 func (osFs) Exists(name string) (bool, bool, error) { argument
137 func (osFs) IsDir(name string) (bool, error) { argument
145 func (osFs) IsSymlink(name string) (bool, error) { argument
153 func (fs osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs … argument
157 func (osFs) glob(pattern string) ([]string, error) { argument
161 func (osFs) Lstat(path string) (stats os.FileInfo, err error) { argument
165 func (osFs) Stat(path string) (stats os.FileInfo, err error) { argument
[all …]