mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Setting to filesystems to the afero.fs interface so can be easily swapped out.
This commit is contained in:
1 parent
ad69374f8b
commit
4b9ea105c2
1 file changed
+3
-3
+3
-3
@@ -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