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

Public Member Functions

None __init__ (self, CandidatesFromPage candidates_from_page, Link link)
 
Optional[Linklink (self)
 
FoundCandidates page_candidates (self)
 
FoundLinks file_links (self)
 

Detailed Description

``--[extra-]index-url=<path-to-directory>``.

This is treated like a remote URL; ``candidates_from_page`` contains logic
for this by appending ``index.html`` to the link.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
CandidatesFromPage  candidates_from_page,
Link  link 
)

Member Function Documentation

◆ file_links()

FoundLinks file_links (   self)
Links found by specifying archives directly.

Reimplemented from LinkSource.

◆ link()

Optional[Link] link (   self)
Returns the underlying link, if there's one.

Reimplemented from LinkSource.

◆ page_candidates()

FoundCandidates page_candidates (   self)
Candidates found by parsing an archive listing HTML file.

Reimplemented from LinkSource.


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