Skip to main content

is_path_like

Function
This function is defined in the parse_utils module.
Check if a string looks like a file path. O(1) operation.

Signature

Parameters

&str
required
No description available.

Returns

bool
The result of the operation.

Usage

Uses

  • starts_with
  • ends_with
  • extension
  • contains
  • rsplit
  • next
  • unwrap_or
  • to_lowercase

Source

View on GitHub

praisonai/src/parity/parse_utils.rs at line 60