Package conary :: Package repository :: Module changeset
[hide private]
[frames] | no frames]

Module changeset

source code

Classes [hide private]
  FileInfo
  ChangeSetNewTroveList
  ChangeSetFileDict
  ChangeSetFileContentsTuple
Wrapper class for for the tuples stored in ChangeSet.configCache and ChangeSet.fileContents dicts which allow them to be sent through util.SendableFileSet.
  ChangeSetFileContentsDict
Wrapper class for the ChangeSet.configCache and ChangeSet.fileContents dicts which can be sent through a util.SendableFileSet.
  ChangeSet
  ChangeSetFromAbsoluteChangeSet
  ChangeSetKeyConflictError
  PathIdsConflictError
  ReadOnlyChangeSet
  ChangeSetFromFile
  DictAsCsf
  AbstractChangesetExploder
  ChangesetExploder
Functions [hide private]
 
makeKey(pathId, fileId) source code
 
parseKey(key) source code
 
ChangeSetFromSocket(sock) source code
 
fileChangeSet(pathId, old, new) source code
 
fileContentsUseDiff(oldFile, newFile, mirrorMode=False) source code
 
fileContentsDiff(oldFile, oldCont, newFile, newCont, mirrorMode=False) source code
 
CreateFromFilesystem(troveList) source code
 
_convertChangeSetV2V1(inPath, outPath) source code
int
getNativeChangesetVersion(protocolVersion)
Return the native changeset version supported by a client speaking the supplied protocol version
source code
Variables [hide private]
  ChangedFileTypes = {'diff': 'cft-diff', 'refr': 'cft-refr', 'p...
  _STREAM_CS_PRIMARY = 1
  _STREAM_CS_TROVES = 2
  _STREAM_CS_OLD_TROVES = 3
  _STREAM_CS_FILES = 4
  _FILEINFO_OLDFILEID = 1
  _FILEINFO_NEWFILEID = 2
  _FILEINFO_CSINFO = 3
  SMALL = 0
  LARGE = 1
Function Details [hide private]

getNativeChangesetVersion(protocolVersion)

source code 
Return the native changeset version supported by a client speaking the supplied protocol version
Parameters:
  • protocolVersion (int) - Protocol version that the client negotiated with the server
Returns: int
native changeset version for a client speaking the protocol version

Variables Details [hide private]

ChangedFileTypes

Value:
{'diff': 'cft-diff', 'refr': 'cft-refr', 'ptr': 'cft-ptr', 'file': 'cf\
t-file', 'hldr': 'cft-hldr'}