Package arvados :: Module arvfile
[hide private]
[frames] | no frames]

Module arvfile

source code

Classes [hide private]
  UnownedBlockError
Raised when there's an writable block without an owner on the BlockManager.
  _FileLikeObjectBase
  ArvadosFileReaderBase
  StreamFileReader
  StateChangeError
  _BufferBlock
A stand-in for a Keep block that is in the process of being written.
  NoopLock
  _BlockManager
BlockManager handles buffer blocks.
  ArvadosFile
Represent a file in a Collection.
  ArvadosFileReader
Wraps ArvadosFile in a file-like object supporting reading only.
  ArvadosFileWriter
Wraps ArvadosFile in a file-like object supporting both reading and writing.
Functions [hide private]
streamname, filename
split(path)
Separate the stream name and file name in a /-separated stream path and return a tuple (stream_name, file_name).
source code
 
synchronized(orig_func) source code
 
must_be_writable(orig_func) source code
Variables [hide private]
  MOD = "mod"
  WRITE = "write"
  _logger = logging.getLogger('arvados.arvfile')
Function Details [hide private]

split(path)

source code 

Separate the stream name and file name in a /-separated stream path and return a tuple (stream_name, file_name). If no stream name is available, assume '.'.

Returns: streamname, filename