std::string name() const;
/**
- * Add a base url. \see baseUrl
+ * Add a base url. \see baseUrls
* \param url The base url for the repository.
+ *
+ * To edit or remove urls, create a new RepoInfo instead.
*/
RepoInfo & addBaseUrl( const Url &url );
* In case of falure the metadata remains
* as it was before.
*
- * \throws RepoNoUrlException if no urls are available.
- * \throws RepoNoAliasException if can't figure an alias
- * \throws RepoUnknownTypeException if the metadata is unknown
+ * \throws repo::RepoNoUrlException if no urls are available.
+ * \throws repo::RepoNoAliasException if can't figure an alias
+ * \throws repo::RepoUnknownTypeException if the metadata is unknown
* \throws Exception on unknown error.
*/
void refreshMetadata( const RepoInfo &info );
*
* Empty local metadata.
*
- * \throws RepoNoAlias if can't figure an alias
+ * \throws repo::RepoNoAliasException if can't figure an alias
* \throws Exception on unknown error.
*/
void cleanMetadata( const RepoInfo &info );
*
* \note the local metadata must be valid.
*
- * \throws RepoNoAlias if can't figure an alias to look in cache
+ * \throws repo::RepoNoAliasException if can't figure an alias to look in cache
* \throws Exception on unknown error.
*/
void buildCache( const RepoInfo &info );
*
* \note the local metadata must be valid.
*
- * \throws RepoNoAlias if can't figure an alias to look in cache
+ * \throws repo::RepoNoAliasException if can't figure an alias to look in cache
* \throws Exception on unknown error.
*/
void cleanCache( const RepoInfo &info );
/**
- * \short Wether a repository exists in cache
+ * \short Whether a repository exists in cache
*
* \param RepoInfo to be checked.
*/
*
*
*
- * \throws RepoAlreadyExistsException If the repo clash some
+ * \throws repo::RepoAlreadyExistsException If the repo clash some
* unique attribute like alias
*/
void addRepository( const RepoInfo &info );