Directory.getCurrentDir

Returns the absolute path to the currently opened directory (e.g. res://folder or C:\tmp\folder).

struct Directory
@nogc nothrow
String
getCurrentDir
()

Meta