ATLAS Offline Software
Public Member Functions | List of all members
python.DiskUtils.Local Class Reference
Inheritance diagram for python.DiskUtils.Local:
Collaboration diagram for python.DiskUtils.Local:

Public Member Functions

def exists (self, path)
 
def is_directory (self, path)
 
def is_file (self, path)
 
def children (self, path)
 
def glob (self, pattern)
 
def wrap (self, path)
 

Detailed Description

Definition at line 226 of file DiskUtils.py.

Member Function Documentation

◆ children()

def python.DiskUtils.Local.children (   self,
  path 
)

Reimplemented from python.DiskUtils.Backend.

Definition at line 231 of file DiskUtils.py.

231  def children(self, path):
232  def generator(p):
233  for dir_name, dirs, files in os.walk(p):
234  for f in files:
235  yield os.path.join(dir_name, f)
236  return generator(path)
237 

◆ exists()

def python.DiskUtils.Local.exists (   self,
  path 
)

Reimplemented from python.DiskUtils.Backend.

Definition at line 227 of file DiskUtils.py.

227  def exists(self, path): return os.path.exists(path)

◆ glob()

def python.DiskUtils.Local.glob (   self,
  pattern 
)

Reimplemented from python.DiskUtils.Backend.

Definition at line 238 of file DiskUtils.py.

238  def glob(self, pattern):
239  return glob.glob(pattern)
240 

◆ is_directory()

def python.DiskUtils.Local.is_directory (   self,
  path 
)

Reimplemented from python.DiskUtils.Backend.

Definition at line 228 of file DiskUtils.py.

228  def is_directory(self, path): return os.path.isdir(path)

◆ is_file()

def python.DiskUtils.Local.is_file (   self,
  path 
)

Reimplemented from python.DiskUtils.Backend.

Definition at line 229 of file DiskUtils.py.

229  def is_file(self, path): return os.path.isfile(path)
230 

◆ wrap()

def python.DiskUtils.Backend.wrap (   self,
  path 
)
inherited

Reimplemented in python.DiskUtils.EOS.

Definition at line 224 of file DiskUtils.py.

224  def wrap(self, path): return path
225 

The documentation for this class was generated from the following file:
mc.generator
generator
Configure Herwig7 These are the commands corresponding to what would go into the regular Herwig infil...
Definition: mc.MGH7_FxFx_H71-DEFAULT_test.py:18
python.DecayParser.children
children
Definition: DecayParser.py:32
python.dummyaccess.exists
def exists(filename)
Definition: dummyaccess.py:9