From 4b9ea105c2adfcee021d9902cd1b0b73be791a78 Mon Sep 17 00:00:00 2001 From: spf13 Date: Tue, 4 Nov 2014 00:30:35 -0500 Subject: [PATCH] Setting to filesystems to the afero.fs interface so can be easily swapped out. --- hugofs/fs.go | 6 +++--- 1 file 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)