Skip to content

Commit

Permalink
Fix chown pull request errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuterko committed Dec 7, 2020
1 parent cb1d580 commit 5207eb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ AppFs.Open('/tmp/foo')
File System Methods Available:
```go
Chmod(name string, mode os.FileMode) : error
Chown(name string, uid, gid int) : error
Chtimes(name string, atime time.Time, mtime time.Time) : error
Create(name string) : File, error
Mkdir(name string, perm os.FileMode) : error
Expand Down
4 changes: 4 additions & 0 deletions httpFs.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ func (h HttpFs) Chmod(name string, mode os.FileMode) error {
return h.source.Chmod(name, mode)
}

func (h HttpFs) Chown(name string, uid, gid int) error {
return h.source.Chown(name, uid, gid)
}

func (h HttpFs) Chtimes(name string, atime time.Time, mtime time.Time) error {
return h.source.Chtimes(name, atime, mtime)
}
Expand Down

0 comments on commit 5207eb9

Please sign in to comment.