pub struct FilesRefStoreConfig {
pub git_dir: PathBuf,
pub common_dir: PathBuf,
pub namespace_prefix: Option<String>,
}Expand description
Explicit context for a files ref store (no environment reads for namespace).
Fields§
§git_dir: PathBufWorktree or bare repository git directory.
common_dir: PathBufShared object/ref store (commondir target or same as git_dir).
namespace_prefix: Option<String>Optional GIT_NAMESPACE-style prefix applied to storage paths (not read from env).
Trait Implementations§
Source§impl Clone for FilesRefStoreConfig
impl Clone for FilesRefStoreConfig
Auto Trait Implementations§
impl Freeze for FilesRefStoreConfig
impl RefUnwindSafe for FilesRefStoreConfig
impl Send for FilesRefStoreConfig
impl Sync for FilesRefStoreConfig
impl Unpin for FilesRefStoreConfig
impl UnsafeUnpin for FilesRefStoreConfig
impl UnwindSafe for FilesRefStoreConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more