pub unsafe extern "C" fn tr_sys_path_get_info(
    path: *const c_char,
    flags: c_int,
    info: *mut tr_sys_path_info,
    error: *mut *mut tr_error
) -> u8
Expand description

@brief Portability wrapper for stat ().

@param[in] path Path to file or directory. @param[in] flags Combination of @ref tr_sys_path_get_info_flags_t values. @param[out] info Result buffer. @param[out] error Pointer to error object. Optional, pass NULL if you are not interested in error details.

@return True on success, false otherwise (with error set accordingly).