mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
add comment
This commit is contained in:
parent
50bdb438b5
commit
2761639c8d
1 changed files with 2 additions and 1 deletions
|
|
@ -103,9 +103,10 @@ impl Public {
|
|||
keyword: Option<&str>,
|
||||
sort_order: Option<(Sort, Order)>,
|
||||
) -> Result<Vec<File>, Error> {
|
||||
/// Search keyword separators
|
||||
const S: &[char] = &[
|
||||
'_', '-', ':', ';', ',', '(', ')', '[', ']', '/', '!', '?',
|
||||
' ', // @TODO make separators list optional
|
||||
' ', // @TODO make optional
|
||||
];
|
||||
let mut files = Vec::with_capacity(self.default_capacity);
|
||||
for dir_entry in fs::read_dir(&self.root)? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue