Lines Matching refs:src_url
569 * @param (str) $src_url the url to the source code of <file> in the repo
580 public function _get_raw_url($src_url) { argument
583 $url = substr($src_url, 8); // strip "https://"
622 * @param (str) $src_url the url to the source code of <file> in the repo
632 public function _get_names($src_url) { argument
638 $url = substr($src_url, 8); // strip "https://"
972 * @param (str) $src_url the url to the source code of <file> in the repo
980 public function _check_src_url($src_url) { argument
982 if ((strpos($src_url, "https://bitbucket.org/") === false and
983 strpos($src_url, "https://github.com/") === false)
985 (strpos($src_url, "/src/") === false and
986 strpos($src_url, "/blob/") === false)) {
992 $src_url = $error->getMessage(); // returns the error message
995 return $src_url;