Package conary :: Module files
[hide private]
[frames] | no frames]

Module files

source code

Classes [hide private]
  DeviceStream
  LinkGroupStream
  RegularFileStream
  InodeStream
Stores basic inode information on a file: perms, owner, group.
  FlagsStream
  File
  SymbolicLink
  Socket
  NamedPipe
  Directory
  DeviceFile
  BlockDevice
  CharacterDevice
  RegularFile
  FilesError
  UserGroupIdCache
Functions [hide private]
 
fileStreamIsDiff(fileStream) source code
 
FileFromFilesystem(path, pathId, possibleMatch=None, inodeInfo=False, assumeRoot=False) source code
 
ThawFile(frz, pathId) source code
 
contentsChanged(diff) source code
 
frozenFileHasContents(frz) source code
 
frozenFileFlags(frz) source code
 
frozenFileContentInfo(frz) source code
 
frozenFileTags(frz) source code
 
fieldsChanged(diff) source code
 
tupleChanged(cl, diff) source code
Variables [hide private]
  _FILE_FLAG_CONFIG = 1
  _FILE_FLAG_PATH_DEPENDENCY_TARGET = 2
  _FILE_FLAG_INITIAL_CONTENTS = 4
  _FILE_FLAG_UNUSED2 = 8
  _FILE_FLAG_TRANSIENT = 16
  _FILE_FLAG_SOURCEFILE = 32
  _FILE_FLAG_AUTOSOURCE = 64
  FILE_STREAM_CONTENTS = 1
  FILE_STREAM_DEVICE = 2
  FILE_STREAM_FLAGS = 3
  FILE_STREAM_FLAVOR = 4
  FILE_STREAM_INODE = 5
  FILE_STREAM_PROVIDES = 6
  FILE_STREAM_REQUIRES = 7
  FILE_STREAM_TAGS = 8
  FILE_STREAM_TARGET = 9
  FILE_STREAM_LINKGROUP = 10
  DEVICE_STREAM_MAJOR = 1
  DEVICE_STREAM_MINOR = 2
  INODE_STREAM_PERMS = 1
  INODE_STREAM_MTIME = 2
  INODE_STREAM_OWNER = 3
  INODE_STREAM_GROUP = 4
  SMALL = 0
  LARGE = 1
  DYNAMIC = 2
  FILE_TYPE_DIFF = '\x01'
  REGULAR_FILE_SIZE = 1
  REGULAR_FILE_SHA1 = 2
  userCache = <conary.files.UserGroupIdCache instance at 0x2b2d8...
  groupCache = <conary.files.UserGroupIdCache instance at 0x2b2d...
Variables Details [hide private]

userCache

Value:
UserGroupIdCache('user', pwd.getpwnam, pwd.getpwuid)

groupCache

Value:
UserGroupIdCache('group', grp.getgrnam, grp.getgrgid)