Garden 🌻

__fs.gdn::set_working_directory

Change the current working directory to path.

This affects working_directory() as well as imports used in check_snippet arguments.

import "__fs.gdn" as fs
fs::set_working_directory(Path{ p: "/tmp" })
Source Codepublic fun set_working_directory(path: Path): Result<Unit, String> {
  __BUILTIN_IMPLEMENTATION
}