Logging updates, some function optimisation
This commit is contained in:
@@ -54,6 +54,9 @@ final class Receive extends Item
|
||||
case 'size':
|
||||
return $this->receiving ? $this->receiving->{'file_'.$key} : NULL;
|
||||
|
||||
case 'name_size_time':
|
||||
return sprintf('%s %lu %lu',$this->name,$this->size,$this->mtime);
|
||||
|
||||
case 'to_get':
|
||||
return $this->list
|
||||
->filter(function($item) { return ($item->action & self::I_RECV) && $item->received === FALSE; })
|
||||
|
Reference in New Issue
Block a user