mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
2c8b5d9165
commit
07ad283f68
@@ -137,6 +137,10 @@ func (fs *FilterFs) Chtimes(n string, a, m time.Time) error {
|
||||
return syscall.EPERM
|
||||
}
|
||||
|
||||
func (fs *FilterFs) Chown(n string, uid, gid int) error {
|
||||
return syscall.EPERM
|
||||
}
|
||||
|
||||
func (fs *FilterFs) LstatIfPossible(name string) (os.FileInfo, bool, error) {
|
||||
fi, b, err := lstatIfPossible(fs.fs, name)
|
||||
if err != nil {
|
||||
|
@@ -80,3 +80,7 @@ func (fs noOpFs) Chmod(name string, mode os.FileMode) error {
|
||||
func (fs noOpFs) Chtimes(name string, atime time.Time, mtime time.Time) error {
|
||||
return errNoOp
|
||||
}
|
||||
|
||||
func (fs *noOpFs) Chown(name string, uid int, gid int) error {
|
||||
return errNoOp
|
||||
}
|
||||
|
@@ -60,6 +60,10 @@ func (fs *SliceFs) Chtimes(n string, a, m time.Time) error {
|
||||
return syscall.EPERM
|
||||
}
|
||||
|
||||
func (fs *SliceFs) Chown(n string, uid, gid int) error {
|
||||
return syscall.EPERM
|
||||
}
|
||||
|
||||
func (fs *SliceFs) LstatIfPossible(name string) (os.FileInfo, bool, error) {
|
||||
fi, _, err := fs.pickFirst(name)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user