pub fn list(
source: &Source,
root: &Utf8Path,
pin: Option<&Oid>,
cache: &Cache,
) -> Result<Listing>Expand description
The profiles source holds, read with root as the target’s root: at pin if given, else at
what its ref names now.
§Errors
Error::Source, the source cannot be read.Error::ParseorProfileError, a manifest is not valid.