func GetFileInfo(apiClient pfs.ApiClient, repositoryName string, commitID string, path string) (*pfs.FileInfo, error) { return apiClient.GetFileInfo( context.Background(), &pfs.GetFileInfoRequest{ Path: &pfs.Path{ Commit: &pfs.Commit{ Repository: &pfs.Repository{ Name: repositoryName, }, Id: commitID, }, Path: path, }, }, ) }