Definition at line 156 of file larbatch_posix.py.
def python.larbatch_posix.dcache_file.__init__ |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.__init__ |
( |
|
self, |
|
|
|
path, |
|
|
|
mode = 'r' , |
|
|
|
buf = -1 |
|
) |
| |
Definition at line 168 of file larbatch_posix.py.
172 if path.startswith(
'/pnfs/'):
179 if path != self.
local_path and (mode.find(
'r') >= 0 or mode.find('a') >= 0):
180 larbatch_utilities.ifdh_cp(path, self.
local_path)
def python.larbatch_posix.dcache_file.__del__ |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.__next__ |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.close |
( |
|
self | ) |
|
Definition at line 193 of file larbatch_posix.py.
195 if self.
local_file and not self.local_file.closed:
199 self.local_file.close()
207 if self.mode.find(
'w') >= 0
or self.mode.find(
'a') >= 0
or self.mode.find(
'+') >= 0:
def python.larbatch_posix.dcache_file.fileno |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.flush |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.read |
( |
|
self, |
|
|
|
size = -1 |
|
) |
| |
def python.larbatch_posix.dcache_file.readline |
( |
|
self, |
|
|
|
size = -1 |
|
) |
| |
Definition at line 237 of file larbatch_posix.py.
238 return self.local_file.readline(size)
def readline(self, size=-1)
def python.larbatch_posix.dcache_file.readlines |
( |
|
self, |
|
|
|
sizehint = -1 |
|
) |
| |
Definition at line 242 of file larbatch_posix.py.
243 return self.local_file.readlines()
def readlines(self, sizehint=-1)
def python.larbatch_posix.dcache_file.tell |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.truncate |
( |
|
self | ) |
|
def python.larbatch_posix.dcache_file.truncate |
( |
|
self, |
|
|
|
pos |
|
) |
| |
def python.larbatch_posix.dcache_file.write |
( |
|
self, |
|
|
|
str |
|
) |
| |
def python.larbatch_posix.dcache_file.writelines |
( |
|
self, |
|
|
|
strs |
|
) |
| |
Definition at line 267 of file larbatch_posix.py.
268 self.local_file.writelines(strs)
def writelines(self, strs)
python.larbatch_posix.dcache_file.local_file |
python.larbatch_posix.dcache_file.local_path |
python.larbatch_posix.dcache_file.mode |
python.larbatch_posix.dcache_file.path |
The documentation for this class was generated from the following file: