operation_system

This module detects the current operation system.

class pygitrepo.operation_system.OSEnum[source]

Operation System name enumeration.

pygitrepo.operation_system.OS_NAME: str = 'Linux'

Current OS name

pygitrepo.operation_system.IS_WINDOWS: bool = False

Boolean value that indicate if the current OS is Windows

pygitrepo.operation_system.IS_MACOS: bool = False

Boolean value that indicate if the current OS is MacOS

pygitrepo.operation_system.IS_LINUX: bool = True

Boolean value that indicate if the current OS is Linux

pygitrepo.operation_system.IS_JAVA: bool = False

Boolean value that indicate if the current OS is Java

pygitrepo.operation_system.OPEN_COMMAND = 'open'

The OS dependent command that open a file in default application.