Class EnvironmentKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final File getOrtDataDirectory() The directory to store ORT (read-write) data in, like archives, caches, configuration, and tools.
      final File getOrtConfigDirectory() The directory to store ORT (read-only) configuration in.
      final File getOrtToolsDirectory() The directory to store ORT (read-write) tools in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getOrtDataDirectory

         final File getOrtDataDirectory()

        The directory to store ORT (read-write) data in, like archives, caches, configuration, and tools. Defaults to the ".ort" directory below the current user's home directory.

      • getOrtConfigDirectory

         final File getOrtConfigDirectory()

        The directory to store ORT (read-only) configuration in. Defaults to the "config" directory below the data directory.

      • getOrtToolsDirectory

         final File getOrtToolsDirectory()

        The directory to store ORT (read-write) tools in. Defaults to the "tools" directory below the data directory.