aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugofs/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/fs.go')
-rw-r--r--hugofs/fs.go12
1 files changed, 4 insertions, 8 deletions
diff --git a/hugofs/fs.go b/hugofs/fs.go
index 95645204e..54d962553 100644
--- a/hugofs/fs.go
+++ b/hugofs/fs.go
@@ -35,9 +35,6 @@ type Fs struct {
// Destination is Hugo's destination file system.
Destination afero.Fs
- // Destination used for `renderStaticToDisk`
- DestinationStatic afero.Fs
-
// Os is an OS file system.
// NOTE: Field is currently unused.
Os afero.Fs
@@ -72,11 +69,10 @@ func NewFrom(fs afero.Fs, cfg config.Provider) *Fs {
func newFs(base afero.Fs, cfg config.Provider) *Fs {
return &Fs{
- Source: base,
- Destination: base,
- DestinationStatic: base,
- Os: &afero.OsFs{},
- WorkingDir: getWorkingDirFs(base, cfg),
+ Source: base,
+ Destination: base,
+ Os: &afero.OsFs{},
+ WorkingDir: getWorkingDirFs(base, cfg),
}
}