Module Licensee::ContentHelper
In: lib/licensee/content_helper.rb

Methods

Constants

DIGEST = Digest::SHA1

Public Instance methods

Content with copyright header and linebreaks removed

SHA1 of the normalized content

Number of characteres in the normalized content

Given another license or project file, calculates the difference in length

Number of characters that could be added/removed to still be considered a potential match

Given another license or project file, calculates the similarity as a percentage of words in common

A set of each word in the license, without duplicates

[Validate]