|
|
@ -106,6 +106,11 @@ func (f *FallbackFs) Chmod(name string, mode os.FileMode) error { |
|
|
|
return f.do(func(fs afero.Fs) error { return fs.Chmod(name, mode) }) |
|
|
|
} |
|
|
|
|
|
|
|
// Chown changes the uid and gid of the named file.
|
|
|
|
func (f *FallbackFs) Chown(name string, uid, gid int) error { |
|
|
|
return f.do(func(fs afero.Fs) error { return fs.Chown(name, uid, gid) }) |
|
|
|
} |
|
|
|
|
|
|
|
// Chtimes changes the access and modification times of the named file.
|
|
|
|
func (f *FallbackFs) Chtimes(name string, atime time.Time, mtime time.Time) error { |
|
|
|
return f.do(func(fs afero.Fs) error { return fs.Chtimes(name, atime, mtime) }) |
|
|
|