Skip to content

Cleanup FileSystemProvider from runtime checks - #7655

Merged
Ilya (iSazonov) merged 8 commits into
PowerShell:masterfrom
iSazonov:cleanup-filesystemprovider-symlinks
Sep 8, 2018
Merged

Ilya (iSazonov) merged 8 commits into
PowerShell:masterfrom
iSazonov:cleanup-filesystemprovider-symlinks

Conversation

@iSazonov

@iSazonov Ilya (iSazonov) commented Aug 29, 2018 •

Copy link
Copy Markdown
Collaborator

PR Summary

Address second part of #2349

  • Replace runtime checks with compile time checks.
  • Remove unneeded methods.

PR Checklist

Replace runtime checks with compile time checks.
Remove unneeded methods.
@iSazonov

Copy link
Copy Markdown
Collaborator Author

:-) I wonder that my first all-in-one commit failed and I had to split on steps.

@rjmholt Rob Holt (rjmholt) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me -- much nicer!

}

#endif
return InternalGetTarget(fileSysInfo.FullName);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I see the definition for this method is gone but a call remains. Is there another definition somewhere?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, one - wih handle parameter, second with string parameter. First one was removed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just checking 😄

@anmenaga

Copy link
Copy Markdown

Dongbo Wang (@daxian-dbw) can you please review this? Thanks.

Ilya (@iSazonov) please do a [feature] test run for this. Thanks.

@iSazonov
Ilya (iSazonov) merged commit b8fb553 into PowerShell:master Sep 8, 2018
@iSazonov
Ilya (iSazonov) deleted the cleanup-filesystemprovider-symlinks branch September 8, 2018 19:40
Travis Plunk (TravisEz13) pushed a commit that referenced this pull request Sep 10, 2018
Replace runtime checks with compile time checks.
Remove unneeded methods.
@TravisEz13 Travis Plunk (TravisEz13) added this to the v6.1.0 milestone Sep 10, 2018
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Replace runtime checks with compile time checks.
Remove unneeded methods.
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Replace runtime checks with compile time checks.
Remove unneeded methods.
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.

5 participants