PyFoam.Infrastructure.Hardcoded module

Hardcoded values

PyFoam.Infrastructure.Hardcoded.assertDirectory(name, dirMode=None)[source]

Makes sure that the directory exists :param name: the directory :param dirMode: string to set mode of the directory

PyFoam.Infrastructure.Hardcoded.authDirectory()[source]

Path to the directory with authentication data

PyFoam.Infrastructure.Hardcoded.globalConfigDir()[source]
Returns:The name of the global configuration directory where .cfg-files can be placed
PyFoam.Infrastructure.Hardcoded.globalConfigFile()[source]
Returns:The name of the global configuration File
PyFoam.Infrastructure.Hardcoded.globalDirectory()[source]
Returns:the global directory
PyFoam.Infrastructure.Hardcoded.logDirectory()[source]

Path to the log directory that this user may write to. /var/log/pyFoam for root, ~/.pyFoam/log for all others :return: path to the log directory.

PyFoam.Infrastructure.Hardcoded.siteConfigDir()[source]
Returns:The name of the site configuration directory where .cfg-files can be placed
PyFoam.Infrastructure.Hardcoded.siteConfigFile()[source]
Returns:The name of the site configuration File
PyFoam.Infrastructure.Hardcoded.siteDirectory()[source]
Returns:the site directory
PyFoam.Infrastructure.Hardcoded.userConfigDir()[source]
Returns:The name of the user configuration directory where .cfg-files can be placed
PyFoam.Infrastructure.Hardcoded.userConfigFile()[source]
Returns:The name of the user configuration File
PyFoam.Infrastructure.Hardcoded.userDirectory()[source]
Returns:the user directory
PyFoam.Infrastructure.Hardcoded.userName()[source]
Returns:name of the current user