tauri_sys::path

Function is_absolute

source
pub async fn is_absolute(path: &str) -> Result<bool, Error>
Expand description

Returns whether the path is absolute or not.

ยงExample

use tauri_sys::path::is_absolute;

assert!(is_absolute("/home/tauri").await?);