enable globbing when using 'tsh scp'#23789
Conversation
ac7bbcf to
b288667
Compare
|
You have successfully added a new Trivy configuration |
665074c to
d1cb50e
Compare
b288667 to
b9b0dae
Compare
Also fix copying symlinked files.
2789295 to
09286bc
Compare
r0mant
left a comment
There was a problem hiding this comment.
lgtm with a few suggestions
| } | ||
|
|
||
| func (l localFS) Stat(ctx context.Context, path string) (os.FileInfo, error) { | ||
| func (l *localFS) Glob(ctx context.Context, pattern string) ([]string, error) { |
There was a problem hiding this comment.
Nit: Can you add godocs on all exported names?
There was a problem hiding this comment.
I can, but I thought it was unnecessary due to the fact that localFS's methods are never called directly, only as a FileSystem interface which has all of its methods documented. For future reference, in this case is it still necessary to add comments to every method of an implementation of an interface that is (should) never be used directly?
|
Friendly ping @EdwardDowling |
Also fixes copying symlinked files.
Fixes #22748.