Skip to content

Extend the gitoid crate to support tree objects #77

@alilleybrinker

Description

@alilleybrinker

In the full Git object system, there are four kinds of objects: tree, commit, tag, and blob. They mean roughly the following:

  • blob: A single file on the file system
  • tree: A directory containing files on the file system
  • commit: A commit object in the Git commit history
  • tag: A tag object pointing to a specific commit

Right now, all of these are represented in an enum in the gitoid crate, but we don't really properly support any object besides the blob object.

I'd like to extend gitoid to at least also support tree objects, which would then permit encoding an entire file system tree hierarchy with the gitoid crate to use alongside attestations of file and directory-specific measurements.

With just blob, we only have the ability to identify individual files, but not to locate them within a structure. tree objects add that location!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions