pub fn split_function_dir(function_dir: &Path) -> Option<(&OsStr, &OsStr)>
Split configfs function directory path into driver name and instance name.