func Write(apiClient pfs.ApiClient, repositoryName string, commitID string) error { _, err := apiClient.Write( context.Background(), &pfs.WriteRequest{ Commit: &pfs.Commit{ Repository: &pfs.Repository{ Name: repositoryName, }, Id: commitID, }, }, ) return err }