path_extract_filename

Function path_extract_filename 

Source
pub unsafe extern "C" fn path_extract_filename(
    path: *mut FuriString,
    filename: *mut FuriString,
    trim_ext: bool,
)
Expand description

Extract filename string from path.

ยงArguments

  • path - path string
  • filename - output filename string. Must be initialized before.
  • trim_ext - true - get filename without extension