@@ -104,28 +104,27 @@ pub(crate) struct Store {
104
104
inner : store:: State ,
105
105
}
106
106
107
- /// Indicate that the given BString is a validate reference name or path that can be used as path on disk or written as target
108
- /// of a symbolic reference
107
+ /// A validated complete and fully qualified referenced reference name, safe to use for all operations.
109
108
#[ derive( PartialEq , Eq , Debug , Hash , Ord , PartialOrd , Clone ) ]
110
109
#[ cfg_attr( feature = "serde1" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
111
110
pub struct FullName ( pub ( crate ) BString ) ;
112
111
113
- /// A validated and potentially partial reference name - it can safely be used for common operations.
112
+ /// A validated complete and fully qualified referenced reference name, safe to use for all operations.
114
113
#[ derive( Hash , Debug , PartialEq , Eq , Ord , PartialOrd ) ]
115
114
#[ repr( transparent) ]
116
115
pub struct FullNameRef ( BStr ) ;
117
116
118
- /// A validated complete and fully qualified reference name, safe to use for all operations.
117
+ /// A validated and potentially partial reference name, safe to use for common operations.
119
118
#[ derive( PartialEq , Eq , Debug , Hash , Ord , PartialOrd , Clone ) ]
120
119
pub struct PartialNameCow < ' a > ( Cow < ' a , BStr > ) ;
121
120
122
- /// A validated complete and fully qualified referenced reference name, safe to use for all operations.
121
+ /// A validated and potentially partial reference name, safe to use for common operations.
123
122
#[ derive( PartialEq , Eq , Debug , Hash , Ord , PartialOrd ) ]
124
123
#[ repr( transparent) ]
125
124
pub struct PartialNameRef ( BStr ) ;
126
125
127
- /// A validated complete and fully qualified owned reference name, safe to use for all operations.
128
- #[ derive( PartialEq , Eq , Debug , Hash , Ord , PartialOrd ) ]
126
+ /// A validated and potentially partial reference name, safe to use for common operations.
127
+ #[ derive( PartialEq , Eq , Debug , Hash , Ord , PartialOrd , Clone ) ]
129
128
pub struct PartialName ( BString ) ;
130
129
131
130
/// A _validated_ prefix for references to act as a namespace.
0 commit comments