- More Documentation

This commit is contained in:
2026-01-12 00:36:39 -05:00
parent 450f725cab
commit ed381c4178
95 changed files with 5631 additions and 1718 deletions

View File

@@ -37,7 +37,7 @@ path path::current() {
#include <unistd.h>
#include <linux/limits.h>
path path::current() {
path path::get_current() {
char cstr[PATH_MAX];
if (getcwd(cstr, sizeof(cstr)) == nullptr) {
return path("");
@@ -45,11 +45,11 @@ path path::current() {
return path(cstring(cstr, strlen(cstr)));
}
path path::current(const path& path) {
path path::set_current(const path& path) {
if (chdir(path._str.cstr())) {
return fennec::path("");
}
return current();
return get_current();
}
#endif