/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v20.20.1
src/path.h
25 строк
608 B
Rafael Gonzaga
lib,src,permission: port path.resolve to C++
25 мар 2024, 22:23
Не верифицирован
25 мар 2024, 22:23
3badc11
Код
Авторство
О чём код?
#ifndef SRC_PATH_H_ #define SRC_PATH_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include <string> #include <vector> namespace node { class Environment; bool IsPathSeparator(const char c) noexcept; std::string NormalizeString(const std::string_view path, bool allowAboveRoot, const std::string_view separator); std::string PathResolve(Environment* env, const std::vector<std::string_view>& args); } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_PATH_H_