Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshMcguigan/belay
/ functions
Functions
29 in github.com/JoshMcguigan/belay
⨍
Functions
29
◇
Types & classes
14
↓ 2 callers
Function
applicability_from
(input: &str, branches: Option<Vec<String>>)
src/ci/github.rs:28
↓ 1 callers
Method
all_tasks
(&self)
src/ci.rs:94
↓ 1 callers
Method
filename
(&self)
src/args.rs:24
↓ 1 callers
Function
find_git_root
()
src/main.rs:135
↓ 1 callers
Function
get_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 callers
Function
handle_github
(root_dir: &Path)
src/main.rs:90
↓ 1 callers
Function
handle_gitlab
(root_dir: &Path)
src/main.rs:122
↓ 1 callers
Function
has_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 callers
Method
is_triggered_by
(&self, trigger: &Trigger)
src/ci.rs:41
↓ 1 callers
Method
tasks
Returns the subset of CI tasks that we do want to execute in belay.
src/ci.rs:64
Function
belay_hook_push
()
tests/cli.rs:285
Function
belay_in_github_ci_dir
()
tests/cli.rs:135
Function
belay_in_github_ci_dir_fails
()
tests/cli.rs:249
Function
belay_in_github_ci_dir_with_multiple_workflows
()
tests/cli.rs:172
Function
belay_in_github_ci_dir_with_restricted_applicability
()
tests/cli.rs:44
Function
belay_in_gitlab_ci_dir
()
tests/cli.rs:220
Function
belay_in_no_ci_dir
()
tests/cli.rs:26
Function
belay_in_non_git_dir
()
tests/cli.rs:13
Function
current_branch
()
src/main.rs:189
Method
default
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
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/ci/github.rs:44
Method
from
(input: yaml_rust::scanner::ScanError)
src/ci/github.rs:56
Method
is_applicable
(applicabilities: &[Applicability], triggers: &[Trigger])
src/ci.rs:65
Function
main
()
src/main.rs:26
Function
parse_github_yaml
()
src/ci/github.rs:155
Function
parse_github_yaml_push_to_branch
()
src/ci/github.rs:175
Function
parse_gitlab_yaml
()
src/ci/gitlab.rs:33
Method
read
()
src/config.rs:12
Method
try_from
(input: &str)
src/ci/github.rs:64