OpenQuizz
Une application de gestion des contenus pédagogiques
DiffIndex Class Reference
Inheritance diagram for DiffIndex:
Collaboration diagram for DiffIndex:

Public Member Functions

def iter_change_type (self, change_type)
 

Static Public Attributes

 change_type
 

Detailed Description

Implements an Index for diffs, allowing a list of Diffs to be queried by
the diff properties.

The class improves the diff handling convenience

Member Function Documentation

◆ iter_change_type()

def iter_change_type (   self,
  change_type 
)
:return:
    iterator yielding Diff instances that match the given change_type

:param change_type:
    Member of DiffIndex.change_type, namely:

    * 'A' for added paths
    * 'D' for deleted paths
    * 'R' for renamed paths
    * 'M' for paths with modified data
    * 'T' for changed in the type paths

Field Documentation

◆ change_type

change_type
static

The documentation for this class was generated from the following file: