#![deny(missing_docs, rust_2018_idioms)]
#![forbid(unsafe_code)]
use std::borrow::Cow;
use bstr::{BStr, BString};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)]
pub struct EntryRef<'a> {
pub rela_path: Cow<'a, BStr>,
pub status: entry::Status,
pub property: Option<entry::Property>,
pub disk_kind: Option<entry::Kind>,
pub index_kind: Option<entry::Kind>,
pub pathspec_match: Option<entry::PathspecMatch>,
}
#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)]
pub struct Entry {
pub rela_path: BString,
pub status: entry::Status,
pub property: Option<entry::Property>,
pub disk_kind: Option<entry::Kind>,
pub index_kind: Option<entry::Kind>,
pub pathspec_match: Option<entry::PathspecMatch>,
}
pub mod entry;
pub mod walk;
pub use walk::function::walk;