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.

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