rename HttpFs:SourceFs to 'source' to keep consistent - afero - [fork] go afero port for 9front
 (HTM) git clone git@git.drkhsh.at/afero.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 76b64e1d85c6be785fdb64a332f1f7da85bffee5
 (DIR) parent c6185187f1020470c0b0ea6592f0564b5d9f3af5
 (HTM) Author: Steve Francia <steve.francia@gmail.com>
       Date:   Mon, 11 Jan 2016 16:13:32 -0500
       
       rename HttpFs:SourceFs to 'source' to keep consistent
       
       Diffstat:
         M httpFs.go                           |      20 ++++++++++----------
       
       1 file changed, 10 insertions(+), 10 deletions(-)
       ---
 (DIR) diff --git a/httpFs.go b/httpFs.go
       @@ -45,7 +45,7 @@ func (d httpDir) Open(name string) (http.File, error) {
        }
        
        type HttpFs struct {
       -        SourceFs Fs
       +        source Fs
        }
        
        func (h HttpFs) Dir(s string) *httpDir {
       @@ -55,19 +55,19 @@ func (h HttpFs) Dir(s string) *httpDir {
        func (h HttpFs) Name() string { return "h HttpFs" }
        
        func (h HttpFs) Create(name string) (File, error) {
       -        return h.SourceFs.Create(name)
       +        return h.source.Create(name)
        }
        
        func (h HttpFs) Mkdir(name string, perm os.FileMode) error {
       -        return h.SourceFs.Mkdir(name, perm)
       +        return h.source.Mkdir(name, perm)
        }
        
        func (h HttpFs) MkdirAll(path string, perm os.FileMode) error {
       -        return h.SourceFs.MkdirAll(path, perm)
       +        return h.source.MkdirAll(path, perm)
        }
        
        func (h HttpFs) Open(name string) (http.File, error) {
       -        f, err := h.SourceFs.Open(name)
       +        f, err := h.source.Open(name)
                if err == nil {
                        if httpfile, ok := f.(http.File); ok {
                                return httpfile, nil
       @@ -77,21 +77,21 @@ func (h HttpFs) Open(name string) (http.File, error) {
        }
        
        func (h HttpFs) OpenFile(name string, flag int, perm os.FileMode) (File, error) {
       -        return h.SourceFs.OpenFile(name, flag, perm)
       +        return h.source.OpenFile(name, flag, perm)
        }
        
        func (h HttpFs) Remove(name string) error {
       -        return h.SourceFs.Remove(name)
       +        return h.source.Remove(name)
        }
        
        func (h HttpFs) RemoveAll(path string) error {
       -        return h.SourceFs.RemoveAll(path)
       +        return h.source.RemoveAll(path)
        }
        
        func (h HttpFs) Rename(oldname, newname string) error {
       -        return h.SourceFs.Rename(oldname, newname)
       +        return h.source.Rename(oldname, newname)
        }
        
        func (h HttpFs) Stat(name string) (os.FileInfo, error) {
       -        return h.SourceFs.Stat(name)
       +        return h.source.Stat(name)
        }