mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Setting to filesystems to the afero.fs interface so can be easily swapped out.
This commit is contained in:
parent
ad69374f8b
commit
4b9ea105c2
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ package hugofs
|
||||||
|
|
||||||
import "github.com/spf13/afero"
|
import "github.com/spf13/afero"
|
||||||
|
|
||||||
var SourceFs = new(afero.OsFs)
|
var SourceFs afero.Fs = new(afero.OsFs)
|
||||||
var DestinationFS = new(afero.OsFs)
|
var DestinationFS afero.Fs = new(afero.OsFs)
|
||||||
|
|
||||||
//var DestinationFS = new(afero.MemMapFs)
|
//var DestinationFS afero.Fs = new(afero.MemMapFs)
|
||||||
|
|
Loading…
Reference in a new issue