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

Public Member Functions

def __init__ (self, paths)
 
def __call__ (self, stage_blob)
 

Data Fields

 paths
 

Detailed Description

Predicate to be used by iter_blobs allowing to filter only return blobs which
match the given list of directories or files.

The given paths are given relative to the repository.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  paths 
)
:param paths:
    tuple or list of paths which are either pointing to directories or
    to files relative to the current repository

Member Function Documentation

◆ __call__()

def __call__ (   self,
  stage_blob 
)

Field Documentation

◆ paths

paths

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