Lines Matching refs:contents
265 func FixtureAddFile(path string, contents []byte) FixturePreparer {
271 fs[path] = contents
278 func FixtureAddTextFile(path string, contents string) FixturePreparer {
279 return FixtureAddFile(path, []byte(contents))
285 func FixtureOverrideFile(path string, contents []byte) FixturePreparer {
287 fs[path] = contents
294 func FixtureOverrideTextFile(path string, contents string) FixturePreparer {
295 return FixtureOverrideFile(path, []byte(contents))
299 func FixtureWithRootAndroidBp(contents string) FixturePreparer {
300 return FixtureAddTextFile("Android.bp", contents)
808 contents := string(c)
811 for i, line := range strings.Split(contents, "\n") {