MCPcopy Create free account
hub / github.com/ByConity/ByConity / removeLine

Method removeLine

programs/git-import/git-import.cpp:658–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656 }
657
658 void removeLine(uint32_t num)
659 {
660// std::cerr << "Removing line " << num << ", current_idx: " << current_idx << "\n";
661
662 walk(num);
663
664 if (current_idx == num && it != lines.end())
665 it = lines.erase(it);
666 }
667};
668
669/// All files with their blame info. When file is renamed, we also rename it in snapshot.

Callers 1

updateSnapshotFunction · 0.80

Calls 2

endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected