MCPcopy Create free account
hub / github.com/BirolLab/abyss / closeInputStream

Function closeInputStream

Bloom/bloom.cc:362–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362static inline void
363closeInputStream(istream* in, const string& path)
364{
365 if (path == "-")
366 return;
367 ifstream* ifs = static_cast<ifstream*>(in);
368 ifs->close();
369 delete ifs;
370}
371
372static inline void
373closeOutputStream(ostream* out, const string& path)

Callers 4

initBloomFilterLevelsFunction · 0.85
combineFunction · 0.85
infoFunction · 0.85
compareFunction · 0.85

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected