$cache->set($key, $res);␊ |
}␊ |
// try to find the previous level if it exists.␊ |
$prev = split('/', $request_file);␊ |
$prev = explode('/', $request_file);␊ |
$l = array_pop($prev);␊ |
$previous = substr($request_file, 0, -strlen($l.' '));␊ |
$scmConf = $request->conf->getVal('scm', 'git');␊ |
|
␊ |
public static function makeBreadCrumb($project, $commit, $file, $sep='/')␊ |
{␊ |
$elts = split('/', $file);␊ |
$elts = explode('/', $file);␊ |
$out = array();␊ |
$stack = '';␊ |
$i = 0;␊ |
|
$cobject = $scm->getCommit($commit);␊ |
$in_branches = $scm->inBranches($commit, $request_file);␊ |
// try to find the previous level if it exists.␊ |
$prev = split('/', $request_file);␊ |
$prev = explode('/', $request_file);␊ |
$l = array_pop($prev);␊ |
$previous = substr($request_file, 0, -strlen($l.' '));␊ |
$scmConf = $request->conf->getVal('scm', 'git');␊ |