Sign in

    mizchi/bit/repo does not have a README file

    CommitInfo

    ObjectStore

    pub struct ObjectStore {
    objects : Map[String,
    PackObject
    ]
    }

    ObjectStore::add_objects

    fn ObjectStore::add_objects(self : ObjectStore, objects : Array[
    PackObject
    ]) -> Unit

    ObjectStore::contains

    ObjectStore::from_pack

    ObjectStore::new

    checkout_commit

    fn checkout_commit(store : ObjectStore, commit_id :
    ObjectId
    ) -> Map[String, Bytes] raise
    GitError

    checkout_commit_to_fs

    fn checkout_commit_to_fs(store : ObjectStore, commit_id :
    ObjectId
    , fs : &
    FileSystem
    , root : String) -> Unit raise
    GitError

    fn is_gitlink_mode(mode : String) -> Bool

    is_tree_mode

    fn is_tree_mode(mode : String) -> Bool

    join_path

    fn join_path(root : String, path : String) -> String

    materialize_clone_to_fs

    fn materialize_clone_to_fs(store : ObjectStore, commit_id :
    ObjectId
    , refname : String, remote_url : String, fs : &
    FileSystem
    , root : String) -> Unit raise
    GitError

    parent_dir

    fn parent_dir(path : String) -> String

    parse_commit

    fn parse_commit(content : Bytes) -> CommitInfo raise
    GitError

    write_git_metadata

    fn write_git_metadata(store : ObjectStore, commit_id :
    ObjectId
    , refname : String, remote_url : String, fs : &
    FileSystem
    , root : String) -> Unit raise
    GitError