Pārlūkot izejas kodu

fud: fix `Fud::get()` comment

epiphany 7 mēneši atpakaļ
vecāks
revīzija
fdbc1fb19c
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      bin/fud/fud/src/lib.rs

+ 0 - 2
bin/fud/fud/src/lib.rs

@@ -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) {