Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve folder workspace performance #763

Merged
merged 3 commits into from Aug 20, 2020
Merged

Conversation

JoeRobich
Copy link
Member

Improve #757. This PR does a few things.

  • Removes Linq from the FolderWorkspace classes
  • Special case when --include is only a list of filenames (no globs or folders)
  • Extracts report writing out of the CodeFormatter class

}

private static Task<Workspace> OpenFolderWorkspaceAsync(string workspacePath, Matcher fileMatcher, CancellationToken cancellationToken)
private static Workspace OpenFolderWorkspaceAsync(string workspacePath, SourceFileMatcher fileMatcher)
Copy link
Contributor

Choose a reason for hiding this comment

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

rename to OpenFolderWorkspace as it doesn't return a task

Copy link
Member Author

Choose a reason for hiding this comment

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

haha. This is why I need a second set of eyes =)

Copy link
Contributor

@jmarolf jmarolf left a comment

Choose a reason for hiding this comment

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

:shipit:

@JoeRobich JoeRobich merged commit 0570b5b into master Aug 20, 2020
@JoeRobich JoeRobich deleted the improve-folder-performance branch February 17, 2021 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants