MCPcopy Create free account

hub / github.com/bartman/git-wip / functions

Functions83 in github.com/bartman/git-wip

↓ 44 callersMethodget
src/git_guards.hpp:25
↓ 41 callersFunctionprintln
src/print_compat.hpp:40
↓ 37 callersMethodcommit
Stage all files in the working tree and create a commit. Returns the OID of the new commit.
test/unit/test_repo_fixture.hpp:108
↓ 37 callersMethodwrite_file
Write (or overwrite) a file in the working tree.
test/unit/test_repo_fixture.hpp:99
↓ 30 callersMethodrepo
test/unit/test_repo_fixture.hpp:94
↓ 26 callersMethodptr
src/git_guards.hpp:27
↓ 19 callersFunctiongit_error_str
--------------------------------------------------------------------------- Convenience helper: return the last libgit2 error message as a std::string
src/git_guards.hpp:81
↓ 18 callersFunctionoid_to_hex
--------------------------------------------------------------------------- oid_to_hex — convert a git_oid to its full lowercase hex string ---------
src/git_helpers.hpp:22
↓ 15 callersFunctionresolve_branch_names
--------------------------------------------------------------------------- resolve_branch_names Derive BranchNames from `repo`. If `branch_name` is
src/git_helpers.hpp:63
↓ 13 callersFunctionresolve_oid
--------------------------------------------------------------------------- resolve_oid Look up the OID for a named ref. Returns std::nullopt on fai
src/git_helpers.hpp:127
↓ 13 callersFunctionstrip_prefix
--------------------------------------------------------------------------- strip_prefix If `s` starts with `prefix`, return the remainder. Otherwis
src/string_helpers.hpp:18
↓ 11 callersFunctionrelative_time
--------------------------------------------------------------------------- relative_time Format a point-in-time (seconds since epoch) as a human-rea
src/string_helpers.hpp:57
↓ 10 callersFunctionseconds_ago
Returns an epoch seconds value that is `delta` seconds in the past.
test/unit/test_string_helpers.cpp:91
↓ 8 callersMethodcreate_ref
Create a direct reference (e.g. a wip branch).
test/unit/test_repo_fixture.hpp:156
↓ 8 callersFunctionfirst_line
--------------------------------------------------------------------------- first_line Return the text up to (but not including) the first newline. R
src/string_helpers.hpp:43
↓ 7 callersFunctioncollect_wip_commits
--------------------------------------------------------------------------- collect_wip_commits Walk from `wip_last` backwards, stopping at (but not
src/wip_helpers.hpp:61
↓ 5 callersMethodadvance_head
Advance HEAD to point to `oid` and update the branch ref. Used to simulate making a real commit after WIP commits.
test/unit/test_repo_fixture.hpp:165
↓ 5 callersFunctioncolor_wip_branch
src/color.cpp:82
↓ 5 callersFunctionensure_reflog_dir
--------------------------------------------------------------------------- ensure_reflog_dir Create the directory tree and empty file needed for lib
src/git_helpers.hpp:142
↓ 5 callersFunctionstrip_prefix_inplace
--------------------------------------------------------------------------- strip_prefix_inplace If `s` starts with `prefix`, remove it in-place and
src/string_helpers.hpp:30
↓ 5 callersFunctionwip_parent_oid
--------------------------------------------------------------------------- wip_parent_oid Determine the commit that a new WIP commit should be paren
src/wip_helpers.hpp:28
↓ 4 callersFunctionfind_refs
--------------------------------------------------------------------------- find_refs Enumerate references whose names begin with `prefix`. Example:
src/git_helpers.hpp:99
↓ 3 callersFunctioncolor_branch
src/color.cpp:78
↓ 3 callersMethodname
src/cmd_log.hpp:8
↓ 3 callersFunctionoid_to_short_hex
--------------------------------------------------------------------------- oid_to_short_hex — first 7 characters of the hex OID --------------------
src/git_helpers.hpp:31
↓ 3 callersFunctionprint
src/print_compat.hpp:30
↓ 2 callersFunctionprint_main_help
src/main.cpp:21
↓ 2 callersMethodrun
src/cmd_log.cpp:12
↓ 2 callersFunctionstdout_is_tty
src/color.cpp:22
↓ 1 callersFunctioncolor_commit_hash
src/color.cpp:86
↓ 1 callersFunctioncolor_init
src/color.cpp:28
↓ 1 callersFunctiondelete_ref
src/cmd_delete.cpp:16
↓ 1 callersMethoddesc
src/cmd_log.hpp:12
↓ 1 callersFunctionlower_copy
src/color.cpp:15
MethodGitLibGuard
src/git_guards.hpp:15
FunctionTEST
test/unit/test_git_helpers.cpp:14
FunctionTEST
No wip branch at all → parent should be work_last
test/unit/test_wip_helpers.cpp:11
FunctionTEST
test/unit/test_string_helpers.cpp:12
MethodTestRepo
Default constructor: derive the directory name from the currently-running gtest case ("SuiteName/TestName"). Must be called from inside a TEST() body
test/unit/test_repo_fixture.hpp:44
Methoddesc
src/cmd_save.hpp:12
Methoddesc
src/cmd_delete.hpp:12
Methoddesc
src/cmd_status.hpp:12
Methoddesc
src/cmd_list.hpp:13
Methodfinish_callback
()
sublime/gitwip.py:18
Methodget
src/git_guards.hpp:33
Methodget
src/git_guards.hpp:41
Methodget
src/git_guards.hpp:49
Methodget
src/git_guards.hpp:57
Methodget
src/git_guards.hpp:65
Methodget
src/git_guards.hpp:73
Methodgreen
src/color.cpp:59
Methodinit
test/unit/test_repo_fixture.hpp:60
Methodlast_error
test/unit/test_repo_fixture.hpp:174
Functionmain
src/main.cpp:30
Methodname
src/cmd_save.hpp:8
Methodname
src/cmd_delete.hpp:8
Methodname
src/cmd_status.hpp:8
Methodname
src/cmd_list.hpp:9
Methodon_post_save_async
(self, view)
sublime/gitwip.py:9
Methodptr
src/git_guards.hpp:35
Methodptr
src/git_guards.hpp:43
Methodptr
src/git_guards.hpp:51
Methodptr
src/git_guards.hpp:59
Methodptr
src/git_guards.hpp:67
Methodptr
src/git_guards.hpp:75
Methodred
src/color.cpp:55
Methodreset
src/color.cpp:67
Methodrgb
src/color.cpp:71
Methodrun
src/cmd_delete.cpp:33
Methodrun
src/cmd_save.cpp:16
Methodrun
src/cmd_status.cpp:16
Methodrun
src/cmd_list.cpp:14
Methodyellow
src/color.cpp:63
Method~Command
Virtual destructor to ensure proper cleanup of derived classes
src/command.hpp:14
Method~GitCommitGuard
src/git_guards.hpp:48
Method~GitIndexGuard
src/git_guards.hpp:32
Method~GitLibGuard
src/git_guards.hpp:16
Method~GitReferenceGuard
src/git_guards.hpp:56
Method~GitRepoGuard
src/git_guards.hpp:24
Method~GitRevwalkGuard
src/git_guards.hpp:72
Method~GitSignatureGuard
src/git_guards.hpp:64
Method~GitTreeGuard
src/git_guards.hpp:40
Method~TestRepo
test/unit/test_repo_fixture.hpp:90