Package org.ossreviewtoolkit.utils.ort
Class EnvironmentKt
-
- All Implemented Interfaces:
public final class EnvironmentKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static FileortDataDirectoryprivate final static FileortConfigDirectoryprivate final static FileortToolsDirectory
-
Method Summary
Modifier and Type Method Description final FilegetOrtDataDirectory()The directory to store ORT (read-write) data in, like archives, caches, configuration, and tools. final FilegetOrtConfigDirectory()The directory to store ORT (read-only) configuration in. final FilegetOrtToolsDirectory()The directory to store ORT (read-write) tools in. -
-
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.
-
-
-
-