#pragma once
#include <optional>
#include <string>
namespace torlinkc {
// Best-effort delete of a torrent's on-disk data: only the torrent's own
// entry directly under its download dir (a file, or the folder named after
// it). Never walks outside that dir, never throws. Ported from
// download/delete-data.ts.
std::optional<std::string> deleteSeedData(const std::string& dir, const std::string& name);
} // namespace torlinkc