Skip to content

Move higher level Index related operations to the IRepository interface #822

@nulltoken

Description

@nulltoken

Following #814, let's keep the Index type for lower level operations that will leverage the Index as a data structure/collection independently of the workdir/HEAD.

Following methods should be obsoleted and moved to the IRepository interface:

  • Stage()
  • Unstage()
  • Move()
  • Remove()
  • RetrieveStatus()

Index.Reset() should be maybe renamed to give it a less git-y name (Replace() ?)

/cc @niik @carlosmn

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions