serializer

package
v0.0.0-...-b50cce2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package serializer normalizes the license text and calculates the hash values for all substrings in the license. It then outputs the normalized text and hashes to disk in a compressed archive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveLicenses

func ArchiveLicenses(licenses []string, w io.Writer) error

ArchiveLicenses takes all of the known license texts, normalizes them, then calculates the hash values of all substrings. The resulting normalized text and hashed substring values are then serialized into an archive file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL