Skip to content

Commit

Permalink
Panic on fsext.ChangePathFs#Chwon
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Dec 12, 2023
1 parent 4b9c75c commit 09a96af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/fsext/changepathfs.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fsext

import (
"errors"
"io/fs"
"path/filepath"
"strings"
Expand Down Expand Up @@ -53,7 +52,7 @@ func (f *ChangePathFile) Name() string {

// Chown changes the uid and gid of the named file.
func (b *ChangePathFs) Chown(_ string, _, _ int) error {
return errors.New("unimplemented Chown")
panic("unimplemented Chown")
}

// Chtimes changes the access and modification times of the named file
Expand Down

0 comments on commit 09a96af

Please sign in to comment.