# Functions
CreateTarball archives and compresses a directory's contents to a temporary file while simultaneously computing its MD5 hash.
CreateTarballFromFiles archives and compresses a list of files to a temporary file while simultaneously computing its MD5 hash.
CreateTarball archives and compresses a directory's contents to a temporary file while simultaneously computing its MD5 hash.
Get makes an authenticated GET request to a FOSSA API endpoint.
GetIssues loads the issues for a project.
GetJSON makes an authenticated JSON GET request to a FOSSA API endpoint.
GetLatestBuild loads the most recent build for a revision or returns an error if the revision does not exist, or the revision has no builds.
GetReport gets a report for the provided locator.
GetRevision loads a single revision.
GetRevisionDependencies returns all transitive dependencies for a project revision.
GetRevisions loads many revisions in batched requests.
LocatorOf returns the locator of a pkg.ID.
Normalize transforms module.Modules into SourceUnits.
NormalizeGitURL normalizes all forms of git remote URLs to a single standard form.
NormalizeGitURL normalizes all forms of git remote URLs to a single standard form.
Post makes an authenticated POST request to a FOSSA API endpoint.
ReadLocator parses a string locator into a Locator.
SamlURL constructs a SAML redirect URL for a given FOSSA URL.
SourceUnitType normalizes pkg.Types into SourceUnit types.
Upload uploads a project's analysis.
UploadContributors posts contributor data to the project decribed by locator.
UploadTarball archives, compresses, and uploads a specified directory.
UploadTarballDependency uploads the directory specified to be treated on FOSSA as a dependency.
UploadTarballDependencyFiles generates and uploads a tarball from the provided list of files to FOSSA.
UploadTarballString uploads a string and uses the provided package to name it.
# Constants
RevisionsAPI is the API endpoint for revisions.
RevisionsDependenciesAPI is the API endpoint to retrieve transitive dependencies of a revision.
# Variables
Errors resulting from a bad API response.
Errors related to preconditions.
Errors related to preconditions.
Errors related to preconditions.
Errors resulting from a bad API response.
# Structs
AttributionDependencyLicense is the structure of a license in an attribution report.
AttributionReport is the report including the dependency and license data for a project.
AttributionReportProject is the project for which the report is being made.
AttributionReportRow is the structure of a single dependency in an attribution report.
A Build holds the FOSSA API response for the builds API.
An Issue holds the FOSSA API response for the issue API.
A wrapped list of issues returned by the FOSSA CLI issues endpoint If a push-only API key is used, then only the count is returned.
A License holds the FOSSA API response for the license API.
Locator serializes FOSSA API locators.
A Project holds the FOSSA API response for the project API.
A Revision holds the FOSSA API response for the revision API.
A RevisionMeta holds metadata about a FOSSA API revision.
Rule holds the representation of an Issue's Rule.
SourceUnit is the basic module unit of the FOSSA API.
A SourceUnitBuild contains the build information of a SourceUnit.
A SourceUnitDependency contains the dependency information of a SourceUnit.
UploadOptions are optional keys that provide extra metadata for an upload.