URI: 
       common/hugio: Fix CopyDir when fs is not OS - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit c4bbc1eeeb4b6730593dc9bea7be5c0d879cf90d
   DIR parent 0e0fb1b6487c51112ef04466e80726b2252eb6a2
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Sat, 13 Aug 2022 18:26:16 +0200
       
       common/hugio: Fix CopyDir when fs is not OS
       
       Diffstat:
         M common/hugio/copy.go                |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
   DIR diff --git a/common/hugio/copy.go b/common/hugio/copy.go
       @@ -17,7 +17,6 @@ import (
                "fmt"
                "io"
                "io/ioutil"
       -        "os"
                "path/filepath"
        
                "github.com/spf13/afero"
       @@ -53,7 +52,7 @@ func CopyFile(fs afero.Fs, from, to string) error {
        
        // CopyDir copies a directory.
        func CopyDir(fs afero.Fs, from, to string, shouldCopy func(filename string) bool) error {
       -        fi, err := os.Stat(from)
       +        fi, err := fs.Stat(from)
                if err != nil {
                        return err
                }