Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/hugofs
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-11-04 08:30:35 +0300
committerspf13 <steve.francia@gmail.com>2014-11-04 08:30:35 +0300
commit4b9ea105c2adfcee021d9902cd1b0b73be791a78 (patch)
tree23b88db38b7669d2a9beeb4257a59174b4df3fd9 /hugofs
parentad69374f8b132f0afddb9203300c600b9f21386b (diff)
Setting to filesystems to the afero.fs interface so can be easily swapped out.
Diffstat (limited to 'hugofs')
-rw-r--r--hugofs/fs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugofs/fs.go b/hugofs/fs.go
index 2fe3cbf71..c2b5e143c 100644
--- a/hugofs/fs.go
+++ b/hugofs/fs.go
@@ -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)