diff options
author | Cameron Moore <moorereason@gmail.com> | 2016-03-17 13:30:33 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-03-20 23:51:17 +0100 |
commit | 9323707b32a49ac99f56271e041399eaa90dd1cc (patch) | |
tree | 565e68435923cea7f03371343ccead1ed287d930 /livereload | |
parent | bafb77172b8896131db6fad002a32df087b6aec1 (diff) |
create: Refactor NewContent to be testable
NewContent is refactored to use the afero.Fs interface that should allow
full testing. This commit also pulls the metadata creation logic out of
NewContent and into a separate function to decrease the cyclomatic
complexity of NewContent.
Diffstat (limited to 'livereload')
0 files changed, 0 insertions, 0 deletions