Timeline for Find all files in directory and subdirectories while ignoring noncritical exceptions
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2018 at 15:49 | history | edited | t3chb0t | CC BY-SA 3.0 |
fixed to missing chars ;-]
|
Jan 23, 2018 at 11:15 | comment | added | Heslacher | Most prominent example: blog.codecentric.de/en/2014/02/curly-braces | |
Jan 23, 2018 at 11:08 | comment | added | InfernumDeus |
@Heslacher may you also tell me how to find more information about possible problems regarding omission of {} ?
|
|
Jan 23, 2018 at 9:59 | comment | added | Heslacher | @PieterWitvoet good points. Will leave it to the OP to integrate ;-) | |
Jan 23, 2018 at 8:54 | comment | added | InfernumDeus | Pretty good point. I will look for proper solution later. I thinkg there should be some build in way in .Net. | |
Jan 23, 2018 at 8:48 | comment | added | Pieter Witvoet |
+1. Regarding DirectoryNotFoundException , what if some other process just deleted the folder you're about to scan? I'd also add that the folder validity check is brittle: it also matches things like C:\WindowsCleaners and D:\Userstuff\AppDatareader .
|
|
Jan 23, 2018 at 8:34 | vote | accept | InfernumDeus | ||
Jan 23, 2018 at 8:32 | comment | added | InfernumDeus | Thank you! I see quite a few good practices that I should learn from your advices. | |
Jan 23, 2018 at 8:08 | history | edited | Heslacher | CC BY-SA 3.0 |
added 204 characters in body
|
Jan 23, 2018 at 8:02 | history | answered | Heslacher | CC BY-SA 3.0 |