mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update comment
This commit is contained in:
parent
65e6deaabc
commit
7965a1590f
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
/// 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>> {
|
||||
use std::io::Read;
|
||||
if path.contains("://") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue