Function format_file_path

Source
fn format_file_path(
    base_path: PathBuf,
    cluster_replica: Option<&ClusterReplica>,
) -> PathBuf