29 #ifndef CASA_SYMLINK_H 30 #define CASA_SYMLINK_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/OS/Path.h> 35 #include <casacore/casa/OS/File.h> void move(const Path &target, Bool overwrite=True)
Move the symlink to the target path using the system command mv.
String getSymLink() const
Get the value of the symlink.
Path readSymLink() const
Read value of a symbolic link and return it as a Path.
Get information about, and manipulate symbolic links.
void copy(const Path &target, Bool overwrite=True) const
Copy the symlink to the target path using the system command cp.
void create(const Path &target, Bool overwrite=True)
Make a symbolic link to a file given by target.
Class to get file information and a base for other file classes.
bool Bool
Define the standard types used by Casacore.
Path followSymLink() const
As readSymLink, but the entire symlink chain is followed when the symlinks points to other symlinks...
SymLink()
The default constructor creates a SymLink with path ".".
String: the storage and methods of handling collections of characters.
void checkPath() const
Check if the path of the file is valid.
this file contains all the compiler specific defines
SymLink & operator=(const SymLink &that)
Assignment (copy semantics).