classes/phing/tasks/ext/hg/HgAddTask.php
public function ignoredByGlob($file)
    {
        $lfile = $file;
        if (strpos($lfile, './') === 0) {
            $lfile = substr($lfile, 2);
        }
        foreach ($this->ignoreFile as $line) {
            if (strpos($lfile, $line) === 0) {
                return true;
            }
        }
        return false;
    }
public function ignoredByGlob($file)
    {
        $lfile = $file;
        if (strpos($lfile, './') === 0) {
            $lfile = substr($lfile, 2);
        }
        foreach ($this->ignoreFile as $line) {
            if (strpos($lfile, $line) === 0) {
                return true;
            }
        }
        return false;
    }
public function ignoredByGlob ( $ file ) { $ lfile = $ file ; if ( strpos ( $ lfile , './' ) === 0 ) { $ lfile = substr ( $ lfile , 2 ) ; } foreach ( $ this -> ignoreFile as $ line ) { if ( strpos ( $ lfile , $ line ) === 0 ) { return true ; } } return false ; }
Determine if file is ignored by glob pattern.

@param string $file filename

@return bool
Determine if file is ignored by glob pattern .