std.fs.cwd

std.fs

cwd() -> path

Get the current working directory

Returns the absolute path of the process's current working directory. Wraps getcwd(2). Returns an empty string if the path cannot be determined.