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
128 openFilesChan chan bool
140 func (fs *osFs) acquire() {
146 func (fs *osFs) release() {
152 func (fs *osFs) toAbs(path string) string {
159 func (fs *osFs) removeSrcDirPrefix(path string) string {
175 func (fs *osFs) removeSrcDirPrefixes(paths []string) []string {
197 func (fs *osFs) Open(name string) (ReaderAtSeekerCloser, error) {
206 func (fs *osFs) Exists(name string) (bool, bool, 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) {