Skip to main content

Crate ohos_fileuri_binding

Crate ohos_fileuri_binding 

Source
Expand description

OpenHarmony File URI bindings for Rust

This crate provides safe Rust bindings for OpenHarmony’s file URI operations, allowing conversion between file paths and URIs, URI validation, and directory operations.

Re-exports§

pub use error::FileUriError;

Modules§

error

Functions§

get_full_directory_uri
Get the full directory URI from a file or directory URI
get_path_from_uri
Get file path from URI
get_uri_from_path
Get URI from file path
is_valid_uri
Check if the given URI is valid