DiscoverSkillByPath looks up a single skill by its exact path in the repository.
(client *api.Client, host, owner, repo, commitSHA, skillPath string)
| 682 | |
| 683 | // DiscoverSkillByPath looks up a single skill by its exact path in the repository. |
| 684 | func DiscoverSkillByPath(client *api.Client, host, owner, repo, commitSHA, skillPath string) (*Skill, error) { |
| 685 | return DiscoverSkillByPathWithOptions(client, host, owner, repo, commitSHA, skillPath, DiscoverSkillByPathOptions{}) |
| 686 | } |
| 687 | |
| 688 | // DiscoverSkillByPathWithOptions looks up a single skill by its exact path in |
| 689 | // the repository, applying the given options. |