MCPcopy Create free account
hub / github.com/BirolLab/abyss / ~FastaWriter

Method ~FastaWriter

DataLayer/FastaWriter.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27FastaWriter::~FastaWriter()
28{
29 int n = fsync(fileno(m_fileHandle));
30 if (n < 0)
31 die(m_path);
32 n = fclose(m_fileHandle);
33 if (n < 0)
34 die(m_path);
35 m_fileHandle = NULL;
36}
37
38void FastaWriter::WriteSequence(const Sequence& seq, unsigned id,
39 unsigned multiplicity, const string& comment)

Callers

nothing calls this directly

Calls 1

dieFunction · 0.85

Tested by

no test coverage detected