dotnet / dotnet/sign

CLI: consider an introducing some idiom that allows succinct file extension checking

Open
#478 0 comments 0 reactions 0 assignees View on GitHub
Priority:3
Dominant language
C#
Stars
581
Forks
116
Avg merge
1d 2h
Merged PRs (30d)
8

Description

> nit: consider an introducing some idiom in the codebase that allows succinct file extension checking. Maybe it's a new LINQ method (`SingleExtension` or `WhereExtension`) or a helper method called in existing `LINQ` methods. Or a wrapper around the extension LINQ expressions. Seems a bit verbose as-is. You need to think about the StringComparison each time but really it should be an impl. detail of a helper (IMO. Just a thought!

_Originally posted by @joelverhagen in https://github.com/dotnet/sign/pull/471#discussion_r1029599504_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.