Like Pascal's ExcludeTrailingPathDelimiter
Find an executable with the given name (no extension) in the given directories. Returns null if not found.
Find a program's "home" directory, based on the presence of a file.
Returns true if a program with the given name can be found in PATH.
Like Pascal's IncludeTrailingPathDelimiter
Like startsWith, but pathStartsWith("/foo/barbara", "/foo/bar") is false.
Modify a path under oldBase to a new path with the same subpath under newBase. E.g.: /foo/bar.rebasePath(/foo, /quux) == /quux/bar
Variant of std.path.relativePath with the following differences: - Works with relative paths. If either path is relative, it is first resolved to an absolute path. - If path starts with base, avoids allocating.
Return the PATH environment variable, split into individual paths.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
ae.utils.path