"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hugofs/filter_fs.go" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

filter_fs.go  (hugo-0.80.0):filter_fs.go  (hugo-0.81.0)
skipping to change at line 140 skipping to change at line 140
} }
func (fs *FilterFs) Chmod(n string, m os.FileMode) error { func (fs *FilterFs) Chmod(n string, m os.FileMode) error {
return syscall.EPERM return syscall.EPERM
} }
func (fs *FilterFs) Chtimes(n string, a, m time.Time) error { func (fs *FilterFs) Chtimes(n string, a, m time.Time) error {
return syscall.EPERM 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) { func (fs *FilterFs) LstatIfPossible(name string) (os.FileInfo, bool, error) {
fi, b, err := lstatIfPossible(fs.fs, name) fi, b, err := lstatIfPossible(fs.fs, name)
if err != nil { if err != nil {
return nil, false, err return nil, false, err
} }
if fi.IsDir() { if fi.IsDir() {
return decorateFileInfo(fi, fs, fs.getOpener(name), "", "", nil), false, nil return decorateFileInfo(fi, fs, fs.getOpener(name), "", "", nil), false, nil
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)