Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11716 - /trunk/libzypp/zypp/Glob.h
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Wed, 19 Nov 2008 13:44:20 -0000
  • Message-id: <20081119134420.5D6A99E54B@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Wed Nov 19 14:44:20 2008
New Revision: 11716

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11716&view=rev
Log:
docs

Modified:
trunk/libzypp/zypp/Glob.h

Modified: trunk/libzypp/zypp/Glob.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Glob.h?rev=11716&r1=11715&r2=11716&view=diff
==============================================================================
--- trunk/libzypp/zypp/Glob.h (original)
+++ trunk/libzypp/zypp/Glob.h Wed Nov 19 14:44:20 2008
@@ -42,7 +42,10 @@
/** Find pathnames matching a pattern.
* \code
* Glob glob( Glob::_BRACE );
- * glob.add( "/somewherre/solverTestcase/ *{.xml,.xml.gz}" );
+ * glob.add( "/somewhere/solverTestcase/ *{.xml,.xml.gz}" );
+ * glob.add( "/somewhere/else/a*" );
+ * for_( it, glob.begin(), glob.end() )
+ * ...
* \endcode
* \code
* std::list<Pathname> plist;
@@ -218,7 +221,7 @@
{ return collect( pattern_r.c_str(), Flags(), result_r ); }
/** \overload */
template<class _OutputIterator>
- static int collect( const char * & pattern_r, _OutputIterator result_r
)
+ static int collect( const char * pattern_r, _OutputIterator result_r )
{ return collect( pattern_r, Flags(), result_r ); }

/** \overload With \ref Flags */

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages