Function mupdf_sys::fz_open_directory
source · pub unsafe extern "C" fn fz_open_directory(
ctx: *mut fz_context,
path: *const c_char
) -> *mut fz_archive
Expand description
Open a directory as if it was an archive.
A special case where a directory is opened as if it was an archive.
Note that for directories it is not possible to retrieve the number of entries or list the entries. It is however possible to check if the archive has a particular entry.
path: a path to a directory as it would be given to opendir(3).