Module prs500 :: Class FileFormatter
[hide private]
[frames] | no frames]

Class FileFormatter

source code


Instance Methods [hide private]
  __init__(self, file, term)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]
  mode_string
The mode string for this file.
  name_in_color
The name in ANSI text.
  human_readable_size
File size in human readable form
  modification_time
Last modified time in the Linux ls -l format
  creation_time
Last modified time in the Linux ls -l format

Inherited from object: __class__


Method Details [hide private]

__init__(self, file, term)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

mode_string

The mode string for this file. There are only two modes read-only and read-write
Get Method:
unreachable.fget(self)
Set Method:
None                                                                  
Delete Method:
None                                                                  

name_in_color

The name in ANSI text. Directories are blue, ebooks are green
Get Method:
unreachable.fget(self)
Set Method:
None                                                                  
Delete Method:
None                                                                  

human_readable_size

File size in human readable form
Get Method:
unreachable.fget(self)
Set Method:
None                                                                  
Delete Method:
None                                                                  

modification_time

Last modified time in the Linux ls -l format
Get Method:
unreachable.fget(self)
Set Method:
None                                                                  
Delete Method:
None                                                                  

creation_time

Last modified time in the Linux ls -l format
Get Method:
unreachable.fget(self)
Set Method:
None                                                                  
Delete Method:
None