pub async fn collect_deployment_metadata(
client: &Client,
directory: &Path,
) -> DeploymentMetadataExpand description
Collect deployment metadata (user and git commit).
This function retrieves the current database user and git commit hash for recording deployment provenance. If the current user cannot be determined, it defaults to “unknown”.