MCPcopy Create free account

hub / github.com/JoshMcguigan/belay / functions

Functions29 in github.com/JoshMcguigan/belay

↓ 2 callersFunctionapplicability_from
(input: &str, branches: Option<Vec<String>>)
src/ci/github.rs:28
↓ 1 callersMethodall_tasks
(&self)
src/ci.rs:94
↓ 1 callersMethodfilename
(&self)
src/args.rs:24
↓ 1 callersFunctionfind_git_root
()
src/main.rs:135
↓ 1 callersFunctionget_triggers
Get the best estimate of the triggers for this CI run. We can't know for sure if this will turn into a pull request, but we assume if there is an ups
src/main.rs:159
↓ 1 callersFunctionhandle_github
(root_dir: &Path)
src/main.rs:90
↓ 1 callersFunctionhandle_gitlab
(root_dir: &Path)
src/main.rs:122
↓ 1 callersFunctionhas_upstream
Used to guess if this will turn into a pull request. Has the limitation that it only works if the upstream repository is named 'upstream'.
src/main.rs:174
↓ 1 callersMethodis_triggered_by
(&self, trigger: &Trigger)
src/ci.rs:41
↓ 1 callersMethodtasks
Returns the subset of CI tasks that we do want to execute in belay.
src/ci.rs:64
Functionbelay_hook_push
()
tests/cli.rs:285
Functionbelay_in_github_ci_dir
()
tests/cli.rs:135
Functionbelay_in_github_ci_dir_fails
()
tests/cli.rs:249
Functionbelay_in_github_ci_dir_with_multiple_workflows
()
tests/cli.rs:172
Functionbelay_in_github_ci_dir_with_restricted_applicability
()
tests/cli.rs:44
Functionbelay_in_gitlab_ci_dir
()
tests/cli.rs:220
Functionbelay_in_no_ci_dir
()
tests/cli.rs:26
Functionbelay_in_non_git_dir
()
tests/cli.rs:13
Functioncurrent_branch
()
src/main.rs:189
Methoddefault
Creates a default configuration. This is specifically not an implementation of the Default trait because we want it to be on accesible from this modu
src/config.rs:43
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/ci/github.rs:44
Methodfrom
(input: yaml_rust::scanner::ScanError)
src/ci/github.rs:56
Methodis_applicable
(applicabilities: &[Applicability], triggers: &[Trigger])
src/ci.rs:65
Functionmain
()
src/main.rs:26
Functionparse_github_yaml
()
src/ci/github.rs:155
Functionparse_github_yaml_push_to_branch
()
src/ci/github.rs:175
Functionparse_gitlab_yaml
()
src/ci/gitlab.rs:33
Methodread
()
src/config.rs:12
Methodtry_from
(input: &str)
src/ci/github.rs:64