public override void Flush(string path, TorrentFile file) { Stream s = streamsBuffer.FindStream(GenerateFilePath(path, file)); if (s != null) { s.Flush(); } }
public override void Flush(TorrentFile file) { Stream s = streamsBuffer.FindStream(file.FullPath); if (s != null) { s.Flush(); } }
public void Flush(TorrentFile file) { Stream s = streamsBuffer.FindStream(file.FullPath); s?.Flush(); }