Home
last modified time | relevance | path

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

/aosp_15_r20/build/blueprint/pathtools/
H A Dfs.go132 type osFs struct { struct
133 srcDir string
134 openFilesChan chan bool
146 func (fs *osFs) acquire() {
152 func (fs *osFs) release() {
158 func (fs *osFs) toAbs(path string) string {
165 func (fs *osFs) removeSrcDirPrefix(path string) string {
181 func (fs *osFs) removeSrcDirPrefixes(paths []string) []string {
203 func (fs *osFs) Open(name string) (ReaderAtSeekerCloser, error) {
212 func (fs *osFs) OpenFile(name string, flag int, perm fs.FileMode) (io.WriteCloser, error) {
[all …]
/aosp_15_r20/build/soong/finder/fs/
H A 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) {