Package conary :: Package lib :: Module util :: Class _LazyFile
[hide private]
[frames] | no frames]

Class _LazyFile

source code

object --+
         |
        _LazyFile

Instance Methods [hide private]
 
__init__(self, cache, path, mode)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
reopen(method)
Decorator to perform the housekeeping of opening/closing of fds
source code
 
_reopen(self) source code
 
_release(self) source code
 
_closeCallback(self, cache)
Called when the cache object gets destroyed
source code
 
read(self, *args, **kwargs) source code
 
pread(self, *args, **kwargs) source code
 
seek(self, *args, **kwargs) source code
 
trucate(self, *args, **kwargs) source code
 
_close(self) source code
 
close(self) source code
 
tell(self, *args, **kwargs) source code
 
__hash__(self)
hash(x)
source code
 
__del__(self) source code

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

Properties [hide private]
  _cache
  _hash
  _realFd
  _timestamp
  marker
  mode
  path

Inherited from object: __class__

Method Details [hide private]

__init__(self, cache, path, mode)
(Constructor)

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

read(self, *args, **kwargs)

source code 
Decorators:
  • @reopen

pread(self, *args, **kwargs)

source code 
Decorators:
  • @reopen

seek(self, *args, **kwargs)

source code 
Decorators:
  • @reopen

trucate(self, *args, **kwargs)

source code 
Decorators:
  • @reopen

tell(self, *args, **kwargs)

source code 
Decorators:
  • @reopen

__hash__(self)
(Hashing function)

source code 
hash(x)
Overrides: object.__hash__
(inherited documentation)