pub fn write_codeowners_file(
path: &Path,
content: &str,
dry_run: bool,
) -> Result<SyncStatus>Expand description
Write content to a file, creating parent directories as needed.
Returns the sync status based on whether the file was created, updated, or unchanged.