Garden 🌻

source_directory

Return the path of the directory that contains the current source file. Returns None when run directly in a CLI or JSON session.

source_directory() //-> Some(Path{ p: "/home/yourname/awesome_garden_project" })
Source Codepublic fun source_directory(): Option<Path> {
  __BUILTIN_IMPLEMENTATION
}