Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aria2/aria2
/ shouldEnableWriteCheck
Method
shouldEnableWriteCheck
src/SftpDownloadCommand.cc:99–102 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
bool SftpDownloadCommand::shouldEnableWriteCheck()
100
{
101
return getSocket()->wantWrite() || !getSocket()->wantRead();
102
}
103
104
} // namespace aria2
Callers
nothing calls this directly
Calls
2
wantWrite
Method · 0.45
wantRead
Method · 0.45
Tested by
no test coverage detected