CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
chain Namespace Reference

Classes

class  Chain
 

Functions

def is_lfn
 
def is_pfn
 
def is_rootfn
 

Function Documentation

def chain.is_lfn (   fn)

Definition at line 12 of file chain.py.

Referenced by is_pfn().

12 
13 def is_lfn(fn):
14  return fn.startswith("/store")
def is_lfn
Definition: chain.py:12
def chain.is_pfn (   fn)

Definition at line 9 of file chain.py.

References is_lfn(), and is_rootfn().

9 
10 def is_pfn(fn):
11  return not (is_lfn(fn) or is_rootfn(fn))
def is_pfn
Definition: chain.py:9
def is_lfn
Definition: chain.py:12
def is_rootfn
Definition: chain.py:15
def chain.is_rootfn (   fn)
To open files like root://, file:// which os.isfile won't find.

Definition at line 15 of file chain.py.

Referenced by is_pfn().

15 
16 def is_rootfn(fn):
17  """
18  To open files like root://, file:// which os.isfile won't find.
19  """
20  return "://" in fn
21 
def is_rootfn
Definition: chain.py:15