Home
last modified time | relevance | path

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

/build/blueprint/pathtools/
Dfs.go123 type osFs struct{} struct
125 func (osFs) Open(name string) (ReaderAtSeekerCloser, error) { return os.Open(name) }
126 func (osFs) Exists(name string) (bool, bool, error) {
137 func (osFs) IsDir(name string) (bool, error) {
145 func (osFs) IsSymlink(name string) (bool, error) {
153 …ttern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err error) {
157 func (osFs) glob(pattern string) ([]string, error) {
161 func (osFs) Lstat(path string) (stats os.FileInfo, err error) {
165 func (osFs) Stat(path string) (stats os.FileInfo, err error) {
170 func (osFs) ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err error) {
[all …]
/build/soong/finder/fs/
Dfs.go92 type osFs struct{} struct
96 func (osFs) Open(name string) (io.ReadCloser, error) { return os.Open(name) }
98 func (osFs) Lstat(path string) (stats os.FileInfo, err error) {
102 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) {
114 func (osFs) Rename(oldPath string, newPath string) error {
118 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error {
122 func (osFs) Remove(path string) error {
126 func (osFs) RemoveAll(path string) error {
130 func (osFs) ViewId() (id string) {