Package PyFoam :: Package Infrastructure :: Module Hardcoded
[show private | hide private]
[frames | no frames]

Module PyFoam.Infrastructure.Hardcoded

Hardcoded values
Function Summary
  assertDirectory(name)
Makes sure that the directory exists
  globalConfigFile()
Return the name of the global configuration File
  globalDirectory()
Return the global directory
  logDirectory()
Path to the log directory that this user may write to.
  userConfigFile()
Return the name of the user configuration File
  userDirectory()
Return the user directory
  userName()
Return name of the current user

Imported modules:
posixpath (as path)
Imported functions:
makedirs
Imported variables:
environ
Function Details

assertDirectory(name)

Makes sure that the directory exists
Parameters:
name - the directory

globalConfigFile()

Returns:
The name of the global configuration File

globalDirectory()

Returns:
the global directory

logDirectory()

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

userConfigFile()

Returns:
The name of the user configuration File

userDirectory()

Returns:
the user directory

userName()

Returns:
name of the current user

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net