Module utils

Source
Expand description

Provides several useful functions for determining the disk location of a remote registry index

Modules§

flock
Provides facilities for file locks on unix and windows
git__git
Utilities for working with gix that might be useful for downstream users

Structs§

UrlDir
The details for a remote url

Functions§

canonicalize_url
Canonicalizes a git+ url the same as cargo
cargo_home
Returns the storage directory (in utf-8) used by Cargo, often known as .cargo or CARGO_HOME
cargo_version
Retrieves the current version of cargo being used
get_index_details
Get the disk location of the specified url, as well as its canonical form
url_to_local_dir
Converts a url into a relative path and its canonical form