mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Setting to filesystems to the afero.fs interface so can be easily swapped out.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user