Skip to content

Allow indexing of arbitrary (non-git-indexed) directories #73

Description

@MartinJepsen

Proposal

Memtrace currently has a hard reliance on git-replay when indexing directories, and it will only consider directories which are children of a directory with a .git folder.

I propose to allow indexing arbitrary directories that are not necessarily git repositories.

Use case

Mapping anything not controlled by git. History is not always important, and if the graph can just represent a point-in-time snapshot of whatever directories I point it at, it would allow for greater flexibility, but of course with the inherent lack of git history-derived information.

Notes

Adding something like a .memtraceignore and being able to pass CLI args would be good, as I'm not always interested in indexing everything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions