Helper method to format one entry's info into a text entry like: 'drwxrwxrwx 0 user group 0 Jan 01 1970 filename.txt'

Parametersnamebytes name of the entry (file or directory or link)
sizeint size of the entry
directoryevals to bool - whether the entry is a directory
permissionstwisted.python.filepath.Permissions object representing that entry's permissions
hardlinksint number of hardlinks
modifiedfloat - entry's last modified time in seconds since the epoch
ownerstr username of the owner
groupstr group name of the owner
Returnsstr in the requisite format
Function formatDate Undocumented
def formatDate(mtime): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.