summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/afero/os.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/afero/os.go')
-rw-r--r--vendor/github.com/spf13/afero/os.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/afero/os.go b/vendor/github.com/spf13/afero/os.go
index 4761db5d..f1366321 100644
--- a/vendor/github.com/spf13/afero/os.go
+++ b/vendor/github.com/spf13/afero/os.go
@@ -91,6 +91,10 @@ func (OsFs) Chmod(name string, mode os.FileMode) error {
return os.Chmod(name, mode)
}
+func (OsFs) Chown(name string, uid, gid int) error {
+ return os.Chown(name, uid, gid)
+}
+
func (OsFs) Chtimes(name string, atime time.Time, mtime time.Time) error {
return os.Chtimes(name, atime, mtime)
}