templateDir

external fun templateDir(): ERROR CLASS: Symbol not found for js.promise.Promise<kotlin/String>(source)

Returns the path to the user's template directory.

Platform-specific

  • Linux: Resolves to xdg-user-dirs' XDG_TEMPLATES_DIR.

  • macOS: Not supported.

  • Windows: Resolves to {FOLDERID_Templates}.

Since

1.0.0