pub(super) async fn provide_file_decoration(
environment: &MountainEnvironment,
resource_uri: Url,
) -> Result<Option<Value>, CommonError>Expand description
Provide a file decoration (badge, tooltip, colour) for the given URI.
Called by Mountain’s FileDecorationProvider when the file explorer
or source-control tree requests decoration state for a resource URI.
Cocoon’s $provideFileDecoration handler (added in session Trench) asks
the registered extension provider and returns the result.