~emersion/hut

549067b862db065132a475f9d167de3f6b941e27 — Simon Ser 5 months ago 42d8f5a
export/meta: write info.json file
1 files changed, 7 insertions(+), 0 deletions(-)

M export/meta.go
M export/meta.go => export/meta.go +7 -0
@@ 78,5 78,12 @@ func (ex *MetaExporter) Export(ctx context.Context, dir string) error {
		}
	}

	if err := writeJSON(path.Join(dir, infoFilename), &Info{
		Service: "meta.sr.ht",
		Name:    me.CanonicalName,
	}); err != nil {
		return err
	}

	return nil
}