Package portage :: Package dbapi :: Module vartree
[hide private]

Module vartree

source code

Classes [hide private]
  PreservedLibsRegistry
This class handles the tracking of preserved library objects
  LinkageMap
Models dynamic linker dependencies.
  vardbapi
  vartree
this tree will scan a var/db/pkg database located at root (passed to init)
  dblink
This class provides an interface to the installed package database At present this is implemented as a text backend in /var/db/pkg.
Functions [hide private]
 
write_contents(contents, root, f)
Write contents to any file like object.
source code
 
tar_contents(contents, root, tar, protect=None, onProgress=None) source code
Variables [hide private]
  perform_md5
  CACHE_PATH
  CONFIG_MEMORY_FILE
  PORTAGE_BIN_PATH
  PRIVATE_PATH
  VDB_PATH
  portage_gid
  portage_uid
  secpass
  dbapi
  dep_getslot
  use_reduce
  paren_reduce
  isvalidatom
  isjustname
  dep_getkey
  match_from_list
  InvalidAtom
  InvalidData
  InvalidPackageName
  FileNotFound
  PermissionDenied
  UnsupportedAPIException
  lockdir
  unlockdir
  bold
  red
  green
  fixdbentries
  apply_secpass_permissions
  ConfigProtect
  ensure_dirs
  writemsg
  writemsg_stdout
  writemsg_level
  write_atomic
  atomic_ofstream
  writedict
  grabfile
  grabdict
  normalize_path
  new_protect_filename
  getlibpaths
  pkgsplit
  catpkgsplit
  catsplit
  best
  pkgcmp
  listdir
  dep_expand
  flatten
  key_expand
  doebuild_environment
  doebuild
  env_update
  prepare_build_dirs
  abssymlink
  movefile
  _movefile
  bsd_chflags
  cpv_getkey
  elog_process
  filter_mergephases
  filter_unmergephases
  os
  re
  sys
  stat
  errno
  commands
  copy
  time
  subprocess
  logging
  shlex
  izip
  cPickle
Function Details [hide private]

write_contents(contents, root, f)

source code 

Write contents to any file like object. The file will be left open.