@@ -11,47 +11,47 @@ pub type StoreResult<T> = Result<T, StoreError>;
1111
1212/// Abstraction over the caching implementation
1313pub trait Base : Debug {
14- /// Removes `PacBuild` by name that belongs to the given repository.
14+ /// Removes [ `PacBuild`] by name that belongs to the given repository.
1515 ///
1616 /// # Errors
17- /// * `StoreError::RepositoryNotFound`
18- /// * `StoreError::PacBuildNotFound`
17+ /// * [ `StoreError::RepositoryNotFound`]
18+ /// * [ `StoreError::PacBuildNotFound`]
1919 fn remove_pacbuild ( & mut self , name : & str , repository_url : & str ) -> StoreResult < ( ) > ;
2020
21- /// Adds `PacBuild` to the given repository.
21+ /// Adds [ `PacBuild`] to the given repository.
2222 ///
2323 /// # Errors
24- /// * `StoreError::RepositoryConflict`
25- /// * `StoreError::PacBuildConflict`
24+ /// * [ `StoreError::RepositoryConflict`]
25+ /// * [ `StoreError::PacBuildConflict`]
2626 fn add_pacbuild ( & mut self , pacbuild : PacBuild , repository_url : & str ) -> StoreResult < ( ) > ;
2727
28- /// Updates `PacBuild` that belongs to the given repository.
28+ /// Updates [ `PacBuild`] that belongs to the given repository.
2929 ///
3030 /// # Errors
31- /// * `StoreError::RepositoryNotFound`
32- /// * `StoreError::PacBuildNotFound`
31+ /// * [ `StoreError::RepositoryNotFound`]
32+ /// * [ `StoreError::PacBuildNotFound`]
3333 fn update_pacbuild ( & mut self , pacbuild : PacBuild , repository_url : & str ) -> StoreResult < ( ) > ;
3434
35- /// Removes all `PacBuild` by name that belongs to the given repository.
35+ /// Removes all [ `PacBuild`] by name that belongs to the given repository.
3636 ///
3737 /// # Errors
38- /// * `StoreError::Aggregate`
38+ /// * [ `StoreError::Aggregate`]
3939 fn remove_all_pacbuilds ( & mut self , name : & [ & str ] , repository_url : & str ) -> StoreResult < ( ) > ;
4040
41- /// Adds all `PacBuild` to the given repository.
41+ /// Adds all [ `PacBuild`] to the given repository.
4242 ///
4343 /// # Errors
44- /// * `StoreError::Aggregate`
44+ /// * [ `StoreError::Aggregate`]
4545 fn add_all_pacbuilds (
4646 & mut self ,
4747 pacbuilds : Vec < PacBuild > ,
4848 repository_url : & str ,
4949 ) -> StoreResult < ( ) > ;
5050
51- /// Updates all `PacBuild` that belongs to the given repository.
51+ /// Updates all [ `PacBuild`] that belongs to the given repository.
5252 ///
5353 /// # Errors
54- /// * `StoreError::Aggregate`
54+ /// * [ `StoreError::Aggregate`]
5555 fn update_all_pacbuilds (
5656 & mut self ,
5757 pacbuilds : Vec < PacBuild > ,
@@ -61,19 +61,19 @@ pub trait Base: Debug {
6161 /// Removes [Repository] by url.
6262 ///
6363 /// # Errors
64- /// * `StoreError::RepositoryNotFound`
64+ /// * [ `StoreError::RepositoryNotFound`]
6565 fn remove_repository ( & mut self , repository_url : & str ) -> StoreResult < ( ) > ;
6666
6767 /// Adds `Repository`.
6868 ///
6969 /// # Errors
70- /// * `StoreError::RepositoryConflict`
70+ /// * [ `StoreError::RepositoryConflict`]
7171 fn add_repository ( & mut self , repository : Repository ) -> StoreResult < ( ) > ;
7272
7373 /// Updates [Repository].
7474 ///
7575 /// # Errors
76- /// * `StoreError::RepositoryConflict`
76+ /// * [ `StoreError::RepositoryConflict`]
7777 fn update_repository ( & mut self , repository : Repository ) -> StoreResult < ( ) > ;
7878
7979 /// Find first by name in the given repository
0 commit comments