mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
Updated Comments and fixed bug within the Unix File Implementation
This commit is contained in:
@@ -194,18 +194,18 @@ public:
|
||||
/// The target path can be a directory.
|
||||
///
|
||||
/// A directory is copied recursively.
|
||||
/// If failOnOverwrite is set the Method throws an FileExists Exception
|
||||
/// If options is set to OPT_FAIL_ON_OVERWRITE the Method throws an FileExists Exception
|
||||
/// if the File already exists.
|
||||
|
||||
void moveTo(const std::string& path, int options = 0);
|
||||
/// Copies the file (or directory) to the given path and
|
||||
/// removes the original file. The target path can be a directory.
|
||||
/// If failOnOverwrite is set the Method throws an FileExists Exception
|
||||
/// If options is set to OPT_FAIL_ON_OVERWRITE the Method throws an FileExists Exception
|
||||
/// if the File already exists.
|
||||
|
||||
void renameTo(const std::string& path, int options = 0);
|
||||
/// Renames the file to the new name.
|
||||
/// If failOnOverwrite is set the Method throws an FileExists Exception
|
||||
/// If options is set to OPT_FAIL_ON_OVERWRITE the Method throws an FileExists Exception
|
||||
/// if the File already exists.
|
||||
|
||||
void linkTo(const std::string& path, LinkType type = LINK_SYMBOLIC) const;
|
||||
|
||||
Reference in New Issue
Block a user