19 lines · 644 B · Rust
RawDownload
//! /// An empty array of a type usable with the `git::easy` API to help declaring no parents should be usedpub const NO_PARENT_IDS: [git_hash::ObjectId; 0] = []; mod error {    /// The error returned by [`commit(…)`][crate::Repository::commit()].    #[derive(Debug, thiserror::Error)]    #[allow(missing_docs)]    pub enum Error {        #[error(transparent)]        ReferenceNameValidation(#[from] git_ref::name::Error),        #[error(transparent)]        WriteObject(#[from] crate::object::write::Error),        #[error(transparent)]        ReferenceEdit(#[from] crate::reference::edit::Error),    }}pub use error::Error;

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