Skip to content

The FOSSA "locator" type in a Rust library.

License

Notifications You must be signed in to change notification settings

fossas/locator-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

locator

This library provides the ability to parse and format "Locator" strings. FOSSA uses locators to indicate specific libraries at specific versions.

For more detail, FOSSA employees can reference the Fetchers & Locators doc.

Format

Locators are in the following basic format:

{fetcher}+{package}${version}

There is some nuance to this. For more details, see the library documentation.

Example

Some example locators:

// The FOSSA CLI on GitHub, referencing the tag 'v3.8.24'.
git+github.com/fossas/fossa-cli$v3.8.24

// The 'lodash' library on NPM, referencing the version '4.17.21'.
npm+lodash$4.17.21

// The 'lodash' library on NPM without specifying a version.
npm+lodash

About

The FOSSA "locator" type in a Rust library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages