Skip to content

Delete several unused methods and types#405

Merged
mjcheetham merged 6 commits intomicrosoft:mainfrom
mjcheetham:cleanup
Jul 15, 2020
Merged

Delete several unused methods and types#405
mjcheetham merged 6 commits intomicrosoft:mainfrom
mjcheetham:cleanup

Conversation

@mjcheetham
Copy link
Member

When we forked the code from VFS for Git we brought over a lot of things that are not required. We're still carrying them around and they should be removed - we have no use for them and will not need them.

In many cases the only 'references' to these types were either themselves, or their own unit tests.

Remove unused Scalar and Git version properties from the
ScalarEnlistment type.
Remove various file system and path manipulation code that was no longer
used anywhere. Much was cruft carried over from VFS for Git.
Remove unsued enlistment ID methods and tests.
Delete several unused types (and their tests). Many of these types were
only referenced by themselves, or their own unit tests! These are a
hold-over from the forking from VFS for Git.
Copy link
Contributor

@derrickstolee derrickstolee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the thorough investigation!

@mjcheetham mjcheetham merged commit 92ce2e9 into microsoft:main Jul 15, 2020
@mjcheetham mjcheetham deleted the cleanup branch July 15, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants