Skip to content

Commit

Permalink
pkg/config: update asset.Fs interface to match latest
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbr committed Mar 4, 2021
1 parent c103654 commit 2e31209
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/config/config_android.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ func (f AssetFile) Readdirnames(n int) ([]string, error) {
return nil, errors.New("Invalid Operation: Can't readat asset")
}

func (AssetFile) Chown(name string, uid, gid int) error {
return errors.New("Invalid Operation: Can't chown asset")
}

func (f AssetFile) Stat() (os.FileInfo, error) {

return nil, errors.New("Invalid Operation: Can't readat asset")
Expand Down

0 comments on commit 2e31209

Please sign in to comment.