DiscoverSkillByPath looks up a single skill by its exact path in the repository.
(client *api.Client, host, owner, repo, commitSHA, skillPath string)
| 708 | |
| 709 | // DiscoverSkillByPath looks up a single skill by its exact path in the repository. |
| 710 | func DiscoverSkillByPath(client *api.Client, host, owner, repo, commitSHA, skillPath string) (*Skill, error) { |
| 711 | return DiscoverSkillByPathWithOptions(client, host, owner, repo, commitSHA, skillPath, DiscoverSkillByPathOptions{}) |
| 712 | } |
| 713 | |
| 714 | // DiscoverSkillByPathWithOptions looks up a single skill by its exact path in |
| 715 | // the repository, applying the given options. |