MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / load_lines

Method load_lines

src/TF2.cpp:167–175  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

165
166////////////////////////////////////////////////////////////////////////////////
167void TF2::load_lines() {
168 if (_file.open()) {
169 if (Context::getContext().config.getBoolean("locking")) _file.lock();
170
171 _file.read(_lines);
172 _file.close();
173 _loaded_lines = true;
174 }
175}
176
177////////////////////////////////////////////////////////////////////////////////
178// vim: ts=2 et sw=2

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected