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