Function get_subfolder_prefix

Source
pub fn get_subfolder_prefix<P: AsRef<Path>>(functions_path: &P) -> String
Expand description

Get the prefix of a subfolder before a function call (eg. "cmd/" for a subfolder called cmd) Used for Databind calls, so a line like call func in a subfolder cmd will become function namespace:cmd/func