...
1
16
17 package fstest
18
19 import (
20 "errors"
21 "time"
22 )
23
24
25 func Lchtimes(name string, atime, mtime time.Time) Applier {
26 return applyFn(func(root string) error {
27 return errors.New("Not implemented")
28 })
29 }
30
31
32
33 func Base() Applier {
34 return Apply(
35 CreateDir("Windows", 0o755),
36 CreateDir("Windows/System32", 0o755),
37 CreateDir("Windows/System32/Config", 0o755),
38 CreateFile("Windows/System32/Config/SYSTEM", []byte("foo\n"), 0o777),
39 CreateFile("Windows/System32/Config/SOFTWARE", []byte("foo\n"), 0o777),
40 CreateFile("Windows/System32/Config/SAM", []byte("foo\n"), 0o777),
41 CreateFile("Windows/System32/Config/SECURITY", []byte("foo\n"), 0o777),
42 CreateFile("Windows/System32/Config/DEFAULT", []byte("foo\n"), 0o777),
43 )
44 }
45
View as plain text