Module OSCheck
Provides classes and predicates for guards that check for the current OS.
Import path
import semmle.code.java.os.OSCheck
Imports
Classes
IsSpecificUnixVariant | A guard that checks if the current OS is a specific unix or unix-like variant. When True, the OS is unix or unix-like. When False, the OS may still be unix or unix-like. |
IsSpecificWindowsVariant | A guard that checks if the current OS is a specific Windows variant. When True, the OS is Windows. When False, the OS may still be Windows. |
IsUnixGuard | A guard that checks if the current OS is unix or unix-like. When True, the OS is unix or unix-like. When False, the OS is not unix or unix-like. |
IsWindowsGuard | A guard that checks if the current OS is Windows. When True, the OS is Windows. When False, the OS is not Windows. |