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

Method removeLine

programs/git-import/git-import.cpp:667–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665 }
666
667 void removeLine(uint32_t num)
668 {
669// std::cerr << "Removing line " << num << ", current_idx: " << current_idx << "\n";
670
671 walk(num);
672
673 if (current_idx == num && it != lines.end())
674 it = lines.erase(it);
675 }
676};
677
678/// 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