MCPcopy Create free account
hub / github.com/apache/singa / Close

Method Close

src/io/textfile_reader.cc:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void TextFileReader::Close() {
33 if (fdat_.is_open()) fdat_.close();
34}
35
36bool TextFileReader::Read(std::string* key, std::string* value) {
37 CHECK(fdat_.is_open()) << "File not open!";

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected