mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
Userland: Consolidate most PATH resolving into a single implementation
We previously had at least three different implementations for resolving executables in the PATH, all of which had slightly different characteristics. Merge those into a single implementation to keep the behaviour consistent, and maybe to make that implementation more configurable in the future.
This commit is contained in:
parent
39a3775f48
commit
5f99934dce
13 changed files with 74 additions and 95 deletions
|
@ -157,8 +157,6 @@ public:
|
|||
String resolve_path(String) const;
|
||||
String resolve_alias(StringView) const;
|
||||
|
||||
static String find_in_path(StringView program_name);
|
||||
|
||||
static bool has_history_event(StringView);
|
||||
|
||||
RefPtr<AST::Value> get_argument(size_t) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue