34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/Arrays/Vector.h>
115 const String& fileNamePattern,
static void makeDirectory(const Vector< String > &directoryNames, Bool makeParent=False)
Make directories.
static void copy(const String &to, const String &from, Bool overwrite=True, Bool follow=True)
Copy the file (or directory recursively).
static Vector< Int > lockInfo(const String &tableName)
Tell if a table is used or locked by another process.
static Vector< Bool > fileExists(const Vector< String > &fileName, Bool follow=True)
Do the given files exist? If follow is False, symbolic links are not followed.
static Vector< String > fileNames(const String &directoryName, const String &fileNamePattern, const String &fileTypes, Bool all=False, Bool follow=True)
Give all file names in the directory matching the given pattern and file types.
static void remove(const Vector< String > &fileNames, Bool recursive, Bool mustExist=True, Bool follow=True)
static Vector< String > baseName(const Vector< String > &fileName)
Return the base names of the given files.
static Vector< Double > fileTime(const Vector< String > &fileName, Int whichTime=1, Bool follow=True)
Get the time of the given files.
static Vector< String > fullName(const Vector< String > &fileName)
Return the full absolute names for the given names.
static Vector< Double > freeSpace(const Vector< String > &fileName, Bool follow=True)
Return the total size on the devices the given directories are on.
static void move(const String &to, const String &from, Bool overwrite=True, Bool follow=True)
Move the file or directory.
static Vector< Bool > isValidPathName(const Vector< String > &pathName)
Are the given path names valid? I.e.
static Vector< String > dirName(const Vector< String > &fileName)
Return the full directory names of the given files.
static Vector< Double > totalSize(const Vector< String > &fileName, Bool follow=True)
Return the total size (in bytes) for each file or directory given.
static Double totalSize(const String &fileName, Bool follow=True)
static void remove(const String &fileName, Bool recursive, Bool mustExist=True, Bool follow=True)
Remove the files (or directories recursively).
static Vector< String > fileType(const Vector< String > &fileName, Bool follow=True)
Give the type of the given files.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode all(const LatticeExprNode &expr)