History

[repository #190] cleanup usage of bstr…

…so that it always comes from git-object if possible, and so that major users like git-ref re-export it. The re-export is really something to possibly change to put that onto git-repository level, as well.

Sebastian Thiel committed 5 years ago

Commit e4411ff1 parent 1795a3344 files · +52 −54Browse files

Showing the changes to git-repository/src/commit.rs (1 of 44 files). Show all

Unified · Split

git-repository/src/commit.rs+1−1
@@ -1,6 +1,6 @@
11 use std::borrow::Cow;
22
3−use bstr::{BStr, BString, ByteSlice, ByteVec};
3+use git_object::bstr::{BStr, BString, ByteSlice, ByteVec};
44
55 /// An empty array of a type usable with the `git::easy` API to help declaring no parents should be used
66 pub const NO_PARENT_IDS: [git_hash::ObjectId; 0] = [];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t