You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Loads a mustache template, converting it into an opaque instruction array. * * Returns a pointer to the instruction array. * * The `folder` argument should contain the template's root folder which would * also be used to search for any required partial templates. * * The `filename` argument should contain the template's file name. */mustache_s*fiobj_mustache_load(fio_str_info_sfilename) {
returnmustache_load(.filename=filename.data, .filename_len=filename.len);
}
There is no folder argument.
The text was updated successfully, but these errors were encountered:
Yes, you are right, the folder information is extracted automatically from the filename. While the API has been updated, the documentation lagged behind.
From the source code:
There is no
folder
argument.The text was updated successfully, but these errors were encountered: