~kota/gemgen

2f6d3a38982e950e18819c1e36954640a39e2eee — Dakota Walsh 2 years ago 37391ad
update ConvertFiles documentation
1 files changed, 2 insertions(+), 1 deletions(-)

M convert.go
M convert.go => convert.go +2 -1
@@ 33,7 33,8 @@ type Gemtext struct {
// An afero filesystem is used for abstraction. You can create an OS based
// filesystem with afero.NewOsFs() or a memory backed system with
// afero.NewMemMapFs().
// Files are written with the .gmi extension in the source directory.
// Files are written with the .gmi extension in the output directory. If the
// output directory is not given, they are written in the source directory.
// Encountering an error stops the program with an appropriate message.
func ConvertFiles(fs afero.Fs, opts *options.Opts, mt *matchtemplate.MatchedTemplates) error {
	// Read and convert the list of files concurrently.