From 64a0d4847c197d8a2a1e8fcc80dced2406c3b0c2 Mon Sep 17 00:00:00 2001 From: koldo Date: Fri, 25 Feb 2011 16:22:14 +0000 Subject: [PATCH] .Core: Added details to doc git-svn-id: svn://ultimatepp.org/upp/trunk@3244 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/src.tpp/Path$en-us.tpp | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/uppsrc/Core/src.tpp/Path$en-us.tpp b/uppsrc/Core/src.tpp/Path$en-us.tpp index ea1d5bd23..c06043b12 100644 --- a/uppsrc/Core/src.tpp/Path$en-us.tpp +++ b/uppsrc/Core/src.tpp/Path$en-us.tpp @@ -247,14 +247,17 @@ onst]_[_^String^ String][@(0.0.255) `&]_[*@3 path], [@(0.0.255) int]_[*@3 mode]_ &] [s6; `[POSIX`]&] [s2;%% Creates all missing directories on [%-*@3 path] with access -[%-*@3 mode].&] +[%-*@3 mode].Remember that [%-*@3 path] is a file path. To realize +a folder path, it has be ended with a `'`\`\`'.&] [s3;%% &] [s4; &] [s5;:RealizePath`(const String`&`,int`): [@(0.0.255) bool]_[* RealizePath]([@(0.0.255) cons t]_[_^String^ String][@(0.0.255) `&]_[*@3 path], [@(0.0.255) int]_[*@3 mode]_`=_[@3 0755])&] [s6; `[POSIX`]&] -[s2; [%% Same as RealizeDirectory(GetFileFolder(][*@3 path][%% ), ][*@3 mode][%% ) -`- creates all directories required before writing file at ][*@3 path.]&] +[s2;%% Same as RealizeDirectory(GetFileFolder([%-*@3 path]), [%-*@3 mode]) +`- creates all directories required before writing file at [%-*@3 path.]Remember +that [%-*@3 path] is a file path. To realize a folder path, it +has be ended with a `'`\`\`'.&] [s3;%% &] [s4; &] [s5;:DirectoryCreate`(const char`*`): [@(0.0.255) bool]_[* DirectoryCreate]([@(0.0.255) con @@ -266,14 +269,18 @@ st]_[@(0.0.255) char]_`*[*@3 path])&] [s5;:RealizeDirectory`(const String`&`): [@(0.0.255) bool]_[* RealizeDirectory]([@(0.0.255) c onst]_[_^String^ String][@(0.0.255) `&]_[*@3 path])&] [s6; `[Win32`]&] -[s2;%% Creates all missing directories on [%-*@3 path].&] +[s2;%% Creates all missing directories on [%-*@3 path].Remember that +[%-*@3 path] is a file path. To realize a folder path, it has be +ended with a `'`\`\`'.&] [s3;%% &] [s4; &] [s5;:RealizePath`(const String`&`): [@(0.0.255) bool]_[* RealizePath]([@(0.0.255) const]_[_^String^ S tring][@(0.0.255) `&]_[*@3 path])&] [s6; `[Win32`]&] -[s2; [%% Same as RealizeDirectory(GetFileFolder(][*@3 path][%% )) `- creates -all directories required before writing file at ][*@3 path.]&] +[s2;%% Same as RealizeDirectory(GetFileFolder([%-*@3 path])) `- creates +all directories required before writing file at [%-*@3 path.] Remember +that [%-*@3 path] is a file path. To realize a folder path, it +has be ended with a `'`\`\`'.&] [s3;%% &] [s4; &] [s5;:DirectoryDelete`(const char`*`): [@(0.0.255) bool]_[* DirectoryDelete]([@(0.0.255) con