git_worktree_cli/
constants.rs1pub const PROTECTED_BRANCHES: &[&str] = &["main", "master", "dev", "develop"];
3
4#[allow(dead_code)]
6pub const DEFAULT_MAIN_BRANCHES: &[&str] = &["main", "master"];
7
8#[allow(dead_code)]
10pub const GITHUB_HOST: &str = "github.com";
11#[allow(dead_code)]
12pub const BITBUCKET_CLOUD_HOST: &str = "bitbucket.org";
13
14#[allow(dead_code)]
16pub const BITBUCKET_API_BASE: &str = "https://api.bitbucket.org/2.0";
17
18#[allow(dead_code)]
20pub const HOOK_ENV_FORCE_COLOR: &str = "1";
21
22#[allow(dead_code)]
24pub const GIT_REFS_HEADS_PREFIX: &str = "refs/heads/";
25#[allow(dead_code)]
26pub const GIT_REFS_REMOTES_PREFIX: &str = "refs/remotes/";
27
28#[allow(dead_code)]
30pub const GIT_EXTENSION: &str = ".git";
31
32#[allow(dead_code)]
34pub const CONFIG_FILE_NAME: &str = "git-worktree-config.jsonc";