Remote URL parsing and .git path resolution (gix-url + gix-discover)
Dependencies
pub(all) enum GitHubShorthand { Repo(String, String?) Subdir(String, String, String?) File(String, String)} derive(Eq, @moonbitlang/core/debug.DebugDebug)
impl Show for GitHubShorthand
fn output(self : GitHubShorthand, logger : &Logger) -> Unit
fn check_shorthand_ambiguity(url : String, dir_exists : (String) -> Bool) -> String?
fn detect_git_dir(fs : &@mizchi/bit_types.RepoFileSystemRepoFileSystem, path : String) -> (String, Bool)?
fn is_bare_git_dir(git_dir : String) -> Bool
fn parse_github_shorthand(url : String) -> GitHubShorthand?
fn resolve_gitdir(fs : &@mizchi/bit_types.RepoFileSystemRepoFileSystem, bit_path : String) -> String
fn resolve_local_repo_path(fs : &@mizchi/bit_types.RepoFileSystemRepoFileSystem, root : String, url : String) -> String?
Install
Powered by MoonBit
© 2026 mooncakes.io