diff options
Diffstat (limited to 'hugofs/fs.go')
-rw-r--r-- | hugofs/fs.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hugofs/fs.go b/hugofs/fs.go index 38590a64e..163807704 100644 --- a/hugofs/fs.go +++ b/hugofs/fs.go @@ -21,8 +21,10 @@ import ( "github.com/spf13/afero" ) -// Os points to an Os Afero file system. -var Os = &afero.OsFs{} +var ( + // Os points to the (real) Os filesystem. + Os = &afero.OsFs{} +) // Fs abstracts the file system to separate source and destination file systems // and allows both to be mocked for testing. |