Helper method to format one entry's info into a text entry like: 'drwxrwxrwx 0 user group 0 Jan 01 1970 filename.txt'
Parameters | name | bytes name of the entry (file or directory or link) |
| size | int size of the entry |
| directory | evals to bool - whether the entry is a directory |
| permissions | twisted.python.filepath.Permissions object representing that entry's permissions |
| hardlinks | int number of hardlinks |
| modified | float - entry's last modified time in seconds since the epoch |
| owner | str username of the owner |
| group | str group name of the owner |
Returns | str in the requisite format |