Home
last modified time | relevance | path

Searched refs:filesystem (Results 1 – 9 of 9) sorted by relevance

/build/soong/finder/
Dfinder_test.go34 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
35 return newFinderWithNumThreads(t, filesystem, cacheParams, 2)
38 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
39 f, err := newFinderAndErr(t, filesystem, cacheParams, numThreads)
46 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
49 filesystem.MkDirs(cacheDir)
55 f, err := newImpl(cacheParams, filesystem, logger, cachePath, numThreads)
70 original.filesystem,
80 filesystem := newFs()
82 filesystem.MkDirs(root)
[all …]
Dfinder.go148 filesystem fs.FileSystem member
165 func New(cacheParams CacheParams, filesystem fs.FileSystem,
167 return newImpl(cacheParams, filesystem, logger, dbPath, defaultNumThreads)
171 func newImpl(cacheParams CacheParams, filesystem fs.FileSystem,
180 FilesystemView: filesystem.ViewId(),
189 filesystem: filesystem,
843 reader, err := f.filesystem.Open(dbPath)
1164 err = f.filesystem.WriteFile(tempPath, bytes, 0777)
1168 err = f.filesystem.Rename(tempPath, f.DbPath)
1275 fileInfo, err := f.filesystem.Lstat(path)
[all …]
/build/soong/finder/fs/
Dtest.go26 func Write(t *testing.T, path string, content string, filesystem *MockFs) {
28 filesystem.MkDirs(parent)
29 err := filesystem.WriteFile(path, []byte(content), 0777)
35 func Create(t *testing.T, path string, filesystem *MockFs) {
36 Write(t, path, "hi", filesystem)
39 func Delete(t *testing.T, path string, filesystem *MockFs) {
40 err := filesystem.Remove(path)
46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) {
47 err := filesystem.RemoveAll(path)
53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) {
[all …]
Dfs_test.go24 filesystem := NewMockFs(nil)
25 Create(t, "/tmp/realdir/hi.txt", filesystem)
26 Create(t, "/tmp/realdir/ignoreme.txt", filesystem)
28 Link(t, "/tmp/links/dir", "../realdir", filesystem)
29 Link(t, "/tmp/links/file", "../realdir/hi.txt", filesystem)
30 Link(t, "/tmp/links/broken", "nothingHere", filesystem)
31 Link(t, "/tmp/links/recursive", "recursive", filesystem)
53 stat, err := filesystem.Lstat("/tmp/links/dir")
56 stat, err = filesystem.Stat("/tmp/links/dir")
59 stat, err = filesystem.Lstat("/tmp/links/file")
[all …]
DAndroid.bp16 // mock filesystem
/build/soong/ui/build/
Dfinder.go43 filesystem := fs.OsFs
50 _, statErr := filesystem.Lstat(prunePath)
72 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
/build/make/tools/fs_config/
DREADME12 Target files are used by filesystem and adb tools to ensure that the file and directory properties
14 final stages when building the filesystem images to set the file and directory properties.
45 The filesystem path to configure. A path ending in / is considered a dir,
/build/soong/docs/
Dclion.md61 ### Flattened filesystem
/build/make/tools/fs_config/end_to_end_test/
Dconfig.fs16 # This file is used to define the properties of the filesystem