mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 08:31:16 -03:00
path: Add method to return wcstring_list_ffi_t
This is palatable to Cxx
This commit is contained in:
@@ -168,6 +168,10 @@ wcstring_list_t path_get_paths(const wcstring &cmd, const environment_t &vars) {
|
||||
return paths;
|
||||
}
|
||||
|
||||
wcstring_list_ffi_t path_get_paths_ffi(const wcstring &cmd, const parser_t &parser) {
|
||||
return path_get_paths(cmd, parser.vars());
|
||||
}
|
||||
|
||||
wcstring_list_t path_apply_cdpath(const wcstring &dir, const wcstring &wd,
|
||||
const environment_t &env_vars) {
|
||||
wcstring_list_t paths;
|
||||
|
||||
Reference in New Issue
Block a user