ATLAS Offline Software
dummyaccess.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2 
3 __doc__ = """Module with dummy utilities for files"""
4 
5 
6 def listdir(dirname):
7  return []
8 
9 def exists(filename):
10  return True
11 
12 def getsize(filename):
13  return -1
14 
15 def getmtime(filename):
16  return 0
17 
18 def access(filename,mode):
19  return True
python.dummyaccess.listdir
def listdir(dirname)
Definition: dummyaccess.py:6
python.dummyaccess.access
def access(filename, mode)
Definition: dummyaccess.py:18
python.dummyaccess.getsize
def getsize(filename)
Definition: dummyaccess.py:12
python.dummyaccess.getmtime
def getmtime(filename)
Definition: dummyaccess.py:15
python.dummyaccess.exists
def exists(filename)
Definition: dummyaccess.py:9