Setting to filesystems to the afero.fs interface so can be easily swapped out.

This commit is contained in:
spf13 2014-11-04 00:30:35 -05:00
parent ad69374f8b
commit 4b9ea105c2

View file

@ -15,7 +15,7 @@ package hugofs
import "github.com/spf13/afero"
var SourceFs = new(afero.OsFs)
var DestinationFS = new(afero.OsFs)
var SourceFs afero.Fs = new(afero.OsFs)
var DestinationFS afero.Fs = new(afero.OsFs)
//var DestinationFS = new(afero.MemMapFs)
//var DestinationFS afero.Fs = new(afero.MemMapFs)