SYMBOL INDEX (142 symbols across 20 files) FILE: src/cmd_delete.cpp function delete_ref (line 16) | int delete_ref(git_repository *repo, const std::string &wip_ref) { FILE: src/cmd_delete.hpp class DeleteCmd (line 6) | class DeleteCmd : public Command { method name (line 8) | std::string name() const override { method desc (line 12) | std::string desc() const override { FILE: src/cmd_list.hpp class ListCmd (line 7) | class ListCmd : public Command { method name (line 9) | std::string name() const override { method desc (line 13) | std::string desc() const override { FILE: src/cmd_log.hpp class LogCmd (line 6) | class LogCmd : public Command { method name (line 8) | std::string name() const override { method desc (line 12) | std::string desc() const override { FILE: src/cmd_save.hpp class SaveCmd (line 6) | class SaveCmd : public Command { method name (line 8) | std::string name() const override { method desc (line 12) | std::string desc() const override { FILE: src/cmd_status.hpp class StatusCmd (line 6) | class StatusCmd : public Command { method name (line 8) | std::string name() const override { method desc (line 12) | std::string desc() const override { FILE: src/color.cpp function lower_copy (line 15) | std::string lower_copy(std::string s) { function stdout_is_tty (line 22) | bool stdout_is_tty() { function color_init (line 28) | void color_init() { function color_branch (line 78) | std::string color_branch(std::string_view branch_name) { function color_wip_branch (line 82) | std::string color_wip_branch(std::string_view wip_branch_name) { function color_commit_hash (line 86) | std::string color_commit_hash(std::string_view commit_hash) { FILE: src/color.hpp class Color (line 10) | class Color { FILE: src/command.hpp class Command (line 6) | class Command { FILE: src/git_guards.hpp type GitLibGuard (line 14) | struct GitLibGuard { method GitLibGuard (line 15) | GitLibGuard() { git_libgit2_init(); } method GitLibGuard (line 18) | GitLibGuard(const GitLibGuard &) = delete; method GitLibGuard (line 19) | GitLibGuard &operator=(const GitLibGuard &) = delete; type GitRepoGuard (line 22) | struct GitRepoGuard { method git_repository (line 25) | git_repository *get() { return m_repo; } method git_repository (line 26) | git_repository const *get() const { return m_repo; } method git_repository (line 27) | git_repository **ptr() { return &m_repo; } type GitIndexGuard (line 30) | struct GitIndexGuard { method git_index (line 33) | git_index *get() { return m_idx; } method git_index (line 34) | git_index const *get() const { return m_idx; } method git_index (line 35) | git_index **ptr() { return &m_idx; } type GitTreeGuard (line 38) | struct GitTreeGuard { method git_tree (line 41) | git_tree *get() { return m_tree; } method git_tree (line 42) | git_tree const *get() const { return m_tree; } method git_tree (line 43) | git_tree **ptr() { return &m_tree; } type GitCommitGuard (line 46) | struct GitCommitGuard { method git_commit (line 49) | git_commit *get() { return m_commit; } method git_commit (line 50) | git_commit const *get() const { return m_commit; } method git_commit (line 51) | git_commit **ptr() { return &m_commit; } type GitReferenceGuard (line 54) | struct GitReferenceGuard { method git_reference (line 57) | git_reference *get() { return m_ref; } method git_reference (line 58) | git_reference const *get() const { return m_ref; } method git_reference (line 59) | git_reference **ptr() { return &m_ref; } type GitSignatureGuard (line 62) | struct GitSignatureGuard { method git_signature (line 65) | git_signature *get() { return m_sig; } method git_signature (line 66) | git_signature const *get() const { return m_sig; } method git_signature (line 67) | git_signature **ptr() { return &m_sig; } type GitRevwalkGuard (line 70) | struct GitRevwalkGuard { method git_revwalk (line 73) | git_revwalk *get() { return m_walk; } method git_revwalk (line 74) | git_revwalk const *get() const { return m_walk; } method git_revwalk (line 75) | git_revwalk **ptr() { return &m_walk; } function git_error_str (line 81) | inline std::string git_error_str() { FILE: src/git_helpers.hpp function oid_to_hex (line 22) | inline std::string oid_to_hex(const git_oid *oid) { function oid_to_short_hex (line 31) | inline std::string oid_to_short_hex(const git_oid *oid) { type BranchNames (line 46) | struct BranchNames { function resolve_branch_names (line 63) | inline std::optional resolve_branch_names( function find_refs (line 99) | inline std::vector find_refs( function resolve_oid (line 127) | inline std::optional resolve_oid(git_repository *repo, function ensure_reflog_dir (line 142) | inline void ensure_reflog_dir(git_repository *repo, const std::string &w... FILE: src/main.cpp function print_main_help (line 21) | void print_main_help(const std::vector>& comman... function main (line 30) | int main(int argc, char *argv[]) { FILE: src/print_compat.hpp type std (line 27) | namespace std { function print (line 30) | void print(fmt::format_string fmt_str, Args &&...args) { function print (line 35) | void print(std::ostream &os, fmt::format_string fmt_str, Args... function println (line 40) | void println(fmt::format_string fmt_str, Args &&...args) { function println (line 45) | void println(std::ostream &os, fmt::format_string fmt_str, Ar... FILE: src/string_helpers.hpp function strip_prefix (line 18) | inline std::string strip_prefix(std::string_view s, std::string_view pre... function strip_prefix_inplace (line 30) | inline bool strip_prefix_inplace(std::string &s, std::string_view prefix) { function first_line (line 43) | inline std::string first_line(const char *msg) { function relative_time (line 57) | inline std::string relative_time(std::int64_t epoch_seconds) { FILE: src/wip_helpers.hpp function wip_parent_oid (line 28) | inline std::optional wip_parent_oid( function collect_wip_commits (line 61) | inline std::optional> collect_wip_commits( FILE: sublime/gitwip.py class GitWipAutoCommand (line 7) | class GitWipAutoCommand(sublime_plugin.EventListener): method on_post_save_async (line 9) | def on_post_save_async(self, view): FILE: test/unit/test_git_helpers.cpp function TEST (line 14) | TEST(OidToHex, FullLengthIs40) { function TEST (line 25) | TEST(OidToHex, ShortLengthIs7) { function TEST (line 35) | TEST(OidToHex, ShortIsPrefixOfFull) { function TEST (line 49) | TEST(ResolveBranchNames, FreshRepoUnbornHead) { function TEST (line 57) | TEST(ResolveBranchNames, AfterFirstCommit) { function TEST (line 69) | TEST(ResolveBranchNames, DetachedHead) { function TEST (line 81) | TEST(ResolveBranchNames, ExplicitBranchName) { function TEST (line 93) | TEST(ResolveBranchNames, ExplicitWipShortName) { function TEST (line 105) | TEST(ResolveBranchNames, ExplicitHeadsRef) { function TEST (line 117) | TEST(ResolveBranchNames, ExplicitWipRef) { function TEST (line 129) | TEST(ResolveBranchNames, StripsOnlyOnePrefix) { function TEST (line 145) | TEST(ResolveOid, ExistingRef) { function TEST (line 155) | TEST(ResolveOid, MissingRefReturnsNullopt) { function TEST (line 164) | TEST(ResolveOid, WipRefAfterCreation) { function TEST (line 180) | TEST(EnsureReflogDir, CreatesDirectoryAndFile) { function TEST (line 195) | TEST(EnsureReflogDir, IdempotentSecondCall) { function TEST (line 210) | TEST(EnsureReflogDir, NestedBranchName) { function TEST (line 227) | TEST(FindRefs, FindsWipRefsByPrefix) { function TEST (line 244) | TEST(FindRefs, FindsHeadsRefsByPrefix) { FILE: test/unit/test_repo_fixture.hpp class TestRepo (line 39) | class TestRepo { method TestRepo (line 44) | TestRepo() { method TestRepo (line 57) | explicit TestRepo(const std::string &name) { init(name); } method init (line 60) | void init(const std::string &name) { method git_repository (line 94) | git_repository *repo() { return m_repo.get(); } method write_file (line 99) | void write_file(const std::string &rel_path, const std::string &conten... method git_oid (line 108) | git_oid commit(const std::string &message) { method create_ref (line 156) | void create_ref(const std::string &ref_name, const git_oid &oid) { method advance_head (line 165) | void advance_head(const git_oid &oid) { method last_error (line 174) | static std::string last_error() { FILE: test/unit/test_string_helpers.cpp function TEST (line 12) | TEST(StripPrefix, RemovesPresentPrefix) { function TEST (line 16) | TEST(StripPrefix, LeavesStringUnchangedWhenPrefixAbsent) { function TEST (line 20) | TEST(StripPrefix, EmptyPrefix) { function TEST (line 24) | TEST(StripPrefix, PrefixEqualsString) { function TEST (line 28) | TEST(StripPrefix, EmptyString) { function TEST (line 32) | TEST(StripPrefix, WipRefUnchanged) { function TEST (line 40) | TEST(StripPrefixInplace, RemovesPresentPrefixAndReturnsTrue) { function TEST (line 46) | TEST(StripPrefixInplace, LeavesStringUnchangedWhenPrefixAbsent) { function TEST (line 56) | TEST(FirstLine, NullReturnsEmpty) { function TEST (line 60) | TEST(FirstLine, SingleLine) { function TEST (line 64) | TEST(FirstLine, MultiLine) { function TEST (line 68) | TEST(FirstLine, EmptyString) { function TEST (line 72) | TEST(FirstLine, LeadingNewline) { function TEST (line 76) | TEST(FirstLine, TrailingNewline) { function seconds_ago (line 91) | std::int64_t seconds_ago(std::int64_t delta) { function TEST (line 99) | TEST(RelativeTime, JustNow) { function TEST (line 104) | TEST(RelativeTime, OneMinuteAgo) { function TEST (line 109) | TEST(RelativeTime, OneHourAgo) { function TEST (line 114) | TEST(RelativeTime, OneDayAgo) { function TEST (line 119) | TEST(RelativeTime, TwoWeeksAgo) { function TEST (line 124) | TEST(RelativeTime, ThreeMonthsAgo) { function TEST (line 129) | TEST(RelativeTime, TwoYearsAgo) { function TEST (line 134) | TEST(RelativeTime, FutureTimestampClampsToZero) { function TEST (line 140) | TEST(RelativeTime, SingularSecond) { function TEST (line 146) | TEST(RelativeTime, SingularMinute) { FILE: test/unit/test_wip_helpers.cpp function TEST (line 11) | TEST(WipParentOid, NoWipBranch) { function TEST (line 22) | TEST(WipParentOid, WorkBranchUnchanged) { function TEST (line 40) | TEST(WipParentOid, WorkBranchAdvanced) { function TEST (line 64) | TEST(WipParentOid, UnrelatedHistories) { function TEST (line 86) | TEST(CollectWipCommits, SingleCommitIsWorkHead) { function TEST (line 98) | TEST(CollectWipCommits, OneWipCommit) { function TEST (line 115) | TEST(CollectWipCommits, ThreeWipCommits) { function TEST (line 135) | TEST(CollectWipCommits, WorkBranchAdvanced) { function TEST (line 157) | TEST(CollectWipCommits, WipSameAsWork) {