chirp::Stat Class Reference

Python Stat object. More...

Public Member Functions

def path
 Target path.
def device
 ID of device containing file.
def inode
 inode number
def mode
 file mode permissions
def nlink
 number of hard links
def uid
 user ID of owner
def gid
 group ID of owner
def rdev
 device ID if special file
def size
 total size, in bytes
def block_size
 block size for file system I/O
def blocks
 number of 512B blocks allocated
def atime
 number of seconds since epoch since last access
def mtime
 number of seconds since epoch since last modification
def ctime
 number of seconds since epoch since last status change

Detailed Description

Python Stat object.

This class is used to record stat information for files/directories of a chirp server.


Member Function Documentation

def chirp::Stat::path (   self  ) 

Target path.

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.path
def chirp::Stat::device (   self  ) 

ID of device containing file.

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.device
def chirp::Stat::inode (   self  ) 

inode number

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.inode
def chirp::Stat::mode (   self  ) 

file mode permissions

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.mode
def chirp::Stat::nlink (   self  ) 

number of hard links

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.nlink
def chirp::Stat::uid (   self  ) 

user ID of owner

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.uid
def chirp::Stat::gid (   self  ) 

group ID of owner

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.gid
def chirp::Stat::rdev (   self  ) 

device ID if special file

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.rdev
def chirp::Stat::size (   self  ) 

total size, in bytes

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.size
def chirp::Stat::block_size (   self  ) 

block size for file system I/O

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.block_size
def chirp::Stat::blocks (   self  ) 

number of 512B blocks allocated

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.blocks
def chirp::Stat::atime (   self  ) 

number of seconds since epoch since last access

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.atime
def chirp::Stat::mtime (   self  ) 

number of seconds since epoch since last modification

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.mtime
def chirp::Stat::ctime (   self  ) 

number of seconds since epoch since last status change

Note: This is defined using property decorator. So it must be called without parentheses (). For example:

 >>> print s.ctime

The documentation for this class was generated from the following file:

Generated on 4 Dec 2015 for cctools by  doxygen 1.6.1