Skip to main content

is_asset_path

Function is_asset_path 

Source
pub fn is_asset_path(path: &str) -> bool
Expand description

Returns whether path is persisted and presented as an opaque asset.

Paths without an extension and common source/document extensions are text. Every other extension is opaque, so new asset formats work without storage metadata or library changes.