diff options
Diffstat (limited to 'vespalib/src/vespa/vespalib/io/fileutil.h')
-rw-r--r-- | vespalib/src/vespa/vespalib/io/fileutil.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vespalib/src/vespa/vespalib/io/fileutil.h b/vespalib/src/vespa/vespalib/io/fileutil.h index d06ecd05ca9..6214bf3e60d 100644 --- a/vespalib/src/vespa/vespalib/io/fileutil.h +++ b/vespalib/src/vespa/vespalib/io/fileutil.h @@ -300,31 +300,6 @@ extern inline bool isSymLink(const vespalib::string & path) { } /** - * Creates a symbolic link named newPath which contains the string oldPath. - * - * IMPORTANT: from the spec: - * "Symbolic links are interpreted at run time as if the contents of the link had - * been substituted into the path being followed to find a file or directory." - * - * This means oldPath is _relative_ to the directory in which newPath resides! - * - * @param oldPath Target of symbolic link. - * @param newPath Relative link to be created. See above note for semantics. - * @throw IoException if we fail to create the symlink. - */ -extern void symlink(const vespalib::string & oldPath, - const vespalib::string & newPath); - -/** - * Read and return the contents of symbolic link at the given path. - * - * @param path Path to symbolic link. - * @return Contents of symbolic link. - * @throw IoException if we cannot read the link. - */ -extern vespalib::string readLink(const vespalib::string & path); - -/** * List the contents of the given directory. */ using DirectoryList = std::vector<vespalib::string>; |