mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-06 21:34:00 -05:00
fud: fix Fud::get() comment
This commit is contained in:
@@ -574,8 +574,6 @@ impl Fud {
|
||||
|
||||
/// Start downloading a file or directory from the network to `path`.
|
||||
/// This creates a new task in `fetch_tasks` calling `fetch_resource()`.
|
||||
/// `files` is the list of files (relative paths) you want to download
|
||||
/// (if the resource is a directory), None means you want all files.
|
||||
pub async fn get(&self, hash: &blake3::Hash, path: &Path, files: FileSelection) -> Result<()> {
|
||||
let fetch_tasks = self.fetch_tasks.read().await;
|
||||
if fetch_tasks.contains_key(hash) {
|
||||
|
||||
Reference in New Issue
Block a user