MediaWiki
1.30.0
|
This class uses GitHub api to obtain a list of files present in a directory to avoid fetching files that don't exist. More...
Public Member Functions | |
fetchDirectory ( $pattern) | |
This is horribly inefficient. More... | |
Public Member Functions inherited from LocalisationUpdate\HttpFetcher | |
fetchFile ( $url) | |
Fetches a single resource. More... | |
This class uses GitHub api to obtain a list of files present in a directory to avoid fetching files that don't exist.
Definition at line 18 of file GitHubFetcher.php.
LocalisationUpdate\GitHubFetcher::fetchDirectory | ( | $pattern | ) |
This is horribly inefficient.
Subclasses have more efficient implementation of this.
Reimplemented from LocalisationUpdate\HttpFetcher.
Definition at line 19 of file GitHubFetcher.php.
References $fileinfo, as, FormatJson\decode(), and Http\get().