update comment

This commit is contained in:
yggverse 2025-07-08 15:16:57 +03:00
parent 65e6deaabc
commit 7965a1590f

View file

@ -1,5 +1,7 @@
/// Parse infohash from the source filepath, /// Parse infohash from the source filepath,
/// decode JSON to array on success, return None if the feed file is not reachable /// decode hash bytes to String array on success.
///
/// * return `None` if the `path` is not reachable
pub fn get(path: &str) -> Option<Vec<String>> { pub fn get(path: &str) -> Option<Vec<String>> {
use std::io::Read; use std::io::Read;
if path.contains("://") { if path.contains("://") {