MediaWiki
1.34.4
|
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) | |
Public Member Functions inherited from LocalisationUpdate\HttpFetcher | |
fetchFile ( $url) | |
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 | ) |
string | $pattern |
Reimplemented from LocalisationUpdate\HttpFetcher.
Definition at line 25 of file GitHubFetcher.php.
References $file, $fileinfo, FormatJson\decode(), and Http\get().