/** * Get file attributes * * @access public * * @param $path file path * @param $st file attributes array */ function getattr($path, &$st) { Log::in("GETATTR {$path}"); /* Check for passthru */ if (PassThru::check($path)) { $ret = PassThru::filestats($path, $st); } else { $pi = Query::pathInfo($path); $ret = Query::fileStats($pi, $st); } Log::out("GETATTR"); return $ret; }