mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
@@ -98,7 +98,8 @@ func NewWalkway(cfg WalkwayConfig) *Walkway {
|
||||
hookPre: cfg.HookPre,
|
||||
hookPost: cfg.HookPost,
|
||||
logger: logger,
|
||||
seen: make(map[string]bool)}
|
||||
seen: make(map[string]bool),
|
||||
}
|
||||
}
|
||||
|
||||
func (w *Walkway) Walk() error {
|
||||
@@ -134,7 +135,6 @@ func (w *Walkway) Walk() error {
|
||||
}
|
||||
|
||||
return w.walk(w.root, fi, w.dirEntries, w.walkFn)
|
||||
|
||||
}
|
||||
|
||||
// if the filesystem supports it, use Lstat, else use fs.Stat
|
||||
|
Reference in New Issue
Block a user