From 09a96af86c224664bad7fde86259f211727fc7cd Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Thu, 7 Dec 2023 11:11:35 +0200 Subject: [PATCH] Panic on fsext.ChangePathFs#Chwon --- lib/fsext/changepathfs.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fsext/changepathfs.go b/lib/fsext/changepathfs.go index 852ef865750..391e491aec3 100644 --- a/lib/fsext/changepathfs.go +++ b/lib/fsext/changepathfs.go @@ -1,7 +1,6 @@ package fsext import ( - "errors" "io/fs" "path/filepath" "strings" @@ -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