public getFileDetails ( string $filename ) : object | ||
$filename | string | |
Результат | object |
public function getFileDetails($filename)
{
// what are we doing?
$log = usingLog()->startAction("get details for '{$filename}' on host '{$this->args[0]}'");
// make sure we have valid host details
$hostDetails = $this->getHostDetails();
// get an object to talk to this host
$host = OsLib::getHostAdapter($this->st, $hostDetails->osName);
// get the details
$details = $host->getFileDetails($hostDetails, $filename);
// all done
$log->endAction();
return $details;
}