Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 107.31 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • kerwin612/test_path
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kerwin612

test_path

Test-Path

Usage

dependency:

cargo add test_path

import

use test_path::is_valid;

call

assert_eq!(is_valid("1"), true);
assert_eq!(is_valid("C:/测试"), true);
assert_eq!(is_valid("C:/test"), true);
assert_eq!(is_valid("X:/x/y/z"), true);
assert_eq!(is_valid(r"C:/te|st"), false);