(path: &str)
| 599 | } |
| 600 | |
| 601 | fn debugfs_quote_absolute_path(path: &str) -> Option<String> { |
| 602 | if path.is_empty() || !path.starts_with('/') { |
| 603 | return None; |
| 604 | } |
| 605 | |
| 606 | debugfs_quote_argument(path) |
| 607 | } |
| 608 | |
| 609 | fn debugfs_quote_argument(argument: &str) -> Option<String> { |
| 610 | if argument.is_empty() { |
no test coverage detected