pub fn create_source_context_from_locked_resource(
resource: &LockedResource,
manifest_dir: Option<&Path>,
) -> SourceContextExpand description
Create source context from a locked resource.
This function determines the correct source context from a LockedResource.