pub fn source_to_string(source: &SourcePinned) -> Option<String>
Expand description

Convert the given package source to a string for use in the package lock.

Returns None for sources that refer to a direct Path.