Home
last modified time | relevance | path

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

/build/blueprint/pathtools/
Dfs.go126 type osFs struct { struct
127 srcDir string
134 func (fs *osFs) toAbs(path string) string {
141 func (fs *osFs) removeSrcDirPrefix(path string) string {
157 func (fs *osFs) removeSrcDirPrefixes(paths []string) []string {
166 func (fs *osFs) Open(name string) (ReaderAtSeekerCloser, error) {
170 func (fs *osFs) Exists(name string) (bool, bool, error) {
181 func (fs *osFs) IsDir(name string) (bool, error) {
189 func (fs *osFs) IsSymlink(name string) (bool, error) {
197 …ttern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err error) {
[all …]
/build/soong/finder/fs/
Dfs.go93 type osFs struct{} struct
97 func (osFs) Open(name string) (io.ReadCloser, error) { return os.Open(name) }
99 func (osFs) Lstat(path string) (stats os.FileInfo, err error) {
103 func (osFs) Stat(path string) (stats os.FileInfo, err error) {
107 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) {
119 func (osFs) Rename(oldPath string, newPath string) error {
123 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error {
127 func (osFs) Remove(path string) error {
131 func (osFs) RemoveAll(path string) error {
135 func (osFs) ViewId() (id string) {