You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gix-attributes/src/lib.rs
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@
12
12
use std::path::PathBuf;
13
13
14
14
use bstr::{BStr,BString};
15
-
use compact_str::CompactString;
16
15
pubuse gix_glob as glob;
17
16
18
17
mod assignment;
@@ -60,15 +59,15 @@ pub enum State {
60
59
Unset,
61
60
/// The attribute is set to the given value, which followed the `=` sign.
62
61
/// Note that values can be empty.
63
-
Value(CompactString),// TODO: use `kstring`, maybe it gets a binary string soon, needs binary, too, no UTF8 is required for attr values
62
+
Value(BString),// TODO(performance): Is there a non-utf8 compact_str/KBString crate? See https://github.com/cobalt-org/kstring/issues/37#issuecomment-1446777265 .
64
63
/// The attribute isn't mentioned with a given path or is explicitly set to `Unspecified` using the `!` sign.
0 commit comments