Files
e2b-dev--e2b/packages/python-sdk/e2b/sandbox/_git/__init__.py
T
2026-07-13 12:47:58 +08:00

86 lines
2.1 KiB
Python

from e2b.sandbox._git.args import (
build_add_args,
build_branches_args,
build_checkout_branch_args,
build_clone_plan,
build_commit_args,
build_credential_approve_command,
build_create_branch_args,
build_delete_branch_args,
build_git_command,
build_has_upstream_args,
build_pull_args,
build_push_args,
build_remote_add_args,
build_remote_add_shell_command,
build_remote_get_command,
build_remote_get_url_args,
build_remote_set_url_args,
build_reset_args,
build_restore_args,
build_status_args,
shell_escape,
)
from e2b.sandbox._git.auth import (
build_auth_error_message,
build_upstream_error_message,
is_auth_failure,
is_missing_upstream,
strip_credentials,
with_credentials,
)
from e2b.sandbox._git.config import resolve_config_scope
from e2b.sandbox._git.parse import (
derive_repo_dir_from_url,
parse_git_branches,
parse_git_status,
parse_remote_url,
)
from e2b.sandbox._git.types import (
ClonePlan,
GitBranches,
GitFileStatus,
GitResetMode,
GitStatus,
)
__all__ = [
"build_add_args",
"build_auth_error_message",
"build_branches_args",
"build_checkout_branch_args",
"build_clone_plan",
"build_commit_args",
"build_credential_approve_command",
"build_create_branch_args",
"build_delete_branch_args",
"build_git_command",
"build_has_upstream_args",
"build_pull_args",
"build_push_args",
"build_remote_add_args",
"build_remote_add_shell_command",
"build_remote_get_command",
"build_remote_get_url_args",
"build_remote_set_url_args",
"build_reset_args",
"build_restore_args",
"build_status_args",
"build_upstream_error_message",
"derive_repo_dir_from_url",
"is_auth_failure",
"is_missing_upstream",
"parse_git_branches",
"parse_git_status",
"parse_remote_url",
"resolve_config_scope",
"shell_escape",
"strip_credentials",
"with_credentials",
"ClonePlan",
"GitBranches",
"GitFileStatus",
"GitResetMode",
"GitStatus",
]