func InspectRepo(apiClient pfs.ApiClient, repoName string) (*pfs.RepoInfo, error) { repoInfo, err := apiClient.InspectRepo( context.Background(), &pfs.InspectRepoRequest{ Repo: &pfs.Repo{ Name: repoName, }, }, ) if err != nil { return nil, err } return repoInfo, nil }