[yast-commit] r67727 - /trunk/yast2/library/modules/FileUtils.ycp
Author: aschnell Date: Wed Mar 28 11:39:18 2012 New Revision: 67727 URL: http://svn.opensuse.org/viewcvs/yast?rev=67727&view=rev Log: - better example for Fileutils::Exists Modified: trunk/yast2/library/modules/FileUtils.ycp Modified: trunk/yast2/library/modules/FileUtils.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/modules/FileUtils.ycp?rev=67727&r1=67726&r2=67727&view=diff ============================================================================== --- trunk/yast2/library/modules/FileUtils.ycp (original) +++ trunk/yast2/library/modules/FileUtils.ycp Wed Mar 28 11:39:18 2012 @@ -28,7 +28,8 @@ * * @example * FileUtils::Exists ("/tmp") -> true - * FileUtils::Exists ("/tmp/somefile") -> false + * FileUtils::Exists ("/var/log/messages") -> true + * FileUtils::Exists ("/does-not-exist") -> false */ global define boolean Exists (string target) { map info = (map) SCR::Read(.target.stat, target); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org