Retrieve ids for $pathspec (string or array of strings) at the current branch head
static public id_for_pathspec ( $pathspec ) |
function isTracked() { # if it has a real ID, it's tracked if (!$this->isWorkVersion()) { return true; } # ask git try { if ($this->name && git::id_for_pathspec($this->name)) { return true; } } catch (GitError $e) { } return false; }