Package libxyz :: Package vfs :: Module mode :: Class Mode

[hide private]
[frames] | no frames]

# Class Mode

source code

    object --+
             |
            Mode

A stat st_mode field representaion

Instance Methods | [hide private]

__init__(self, st_mode, vfstype) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

__str__(self) str(x) | source code

__repr__(self) repr(x) | source code

_make_string_mode(self) Make string mode representaion | source code

_usr_bits(self) | source code

_grp_bits(self) | source code

_oth_bits(self) | source code

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

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, st_mode, vfstype)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  - `st_mode` - Raw st_mode obtained from os.stat()
  - `vfstype` - VFS file type
Overrides: object.__init__

### __str__(self)
(Informal representation operator)

source code

str(x)

Overrides: object.__str__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)