all repos — website @ 93c01942cb379b448dafab7ceffd78c005772928

My website

builder:make getHTMLStyleHash output-independent

Alan Pearce
commit

93c01942cb379b448dafab7ceffd78c005772928

parent

160a6e5084ed3c2a6d9ec3831325d3607cc222c1

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M internal/outputs/files.gointernal/outputs/files.go
@@ -70,6 +70,10 @@ return nil
}) } +func (f *FilesOutput) Open(filename string) (io.ReadCloser, error) { + return os.Open(filepath.Join(f.outputDirectory, filename)) +} + func (f *FilesOutput) OutputToFile(output io.Reader, filename string) error { fn := path.Join(f.outputDirectory, filename) if err := f.mkdirp(filepath.Dir(filename)); err != nil {