__fs.gdn::set_working_directory()
Change the current working directory to path.
path
This affects working_directory() as well as imports used in check_snippet arguments.
working_directory()
check_snippet
import "__fs.gdn" as fs fs::set_working_directory(Path{ p: "/tmp" })
public fun set_working_directory(path: Path): Result<Unit, String> { __BUILT_IN_IMPLEMENTATION }