MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / bytesAvailable

Method bytesAvailable

syncthingconnector/syncthingprocess.cpp:768–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768qint64 SyncthingProcess::bytesAvailable() const
769{
770#ifdef LIB_SYNCTHING_CONNECTOR_BOOST_PROCESS
771 return (m_process ? static_cast<qint64>(m_process->bytesBuffered) : 0) + QIODevice::bytesAvailable();
772#else
773 return 0;
774#endif
775}
776
777void SyncthingProcess::close()
778{

Callers 1

testMethod · 0.45

Calls

no outgoing calls

Tested by 1

testMethod · 0.36