1 unstable release

Uses old Rust 2015

0.0.1 Apr 15, 2023

#101 in #valid

Custom license

3KB

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);

No runtime deps