templateDir

external fun templateDir(): Promise<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