Re: FileException when calling getTimes on a DirEntry

2023-12-26 Thread kdevel via Digitalmars-d-learn
On Tuesday, 26 December 2023 at 21:09:05 UTC, Renato wrote: On Sunday, 24 December 2023 at 21:18:44 UTC, kdevel wrote: [...] I would have expected you asking questions like "Which program might have generated that symlink?", "How do I get the meta-data from the symlink and not from the file it

Re: FileException when calling getTimes on a DirEntry

2023-12-26 Thread Renato via Digitalmars-d-learn
On Sunday, 24 December 2023 at 21:18:44 UTC, kdevel wrote: On Sunday, 24 December 2023 at 20:00:15 UTC, Renato wrote: I asked what could be causing an Exception in my code to happen as that was quite unexpected. I would have expected you asking questions like "Which program might have generat

Re: FileException when calling getTimes on a DirEntry

2023-12-24 Thread kdevel via Digitalmars-d-learn
On Sunday, 24 December 2023 at 20:00:15 UTC, Renato wrote: I asked what could be causing an Exception in my code to happen as that was quite unexpected. As I already wrote: Your code tries to fetch the meta-data for an object that does not exist. [..] Have you ever seen a symlink like the o

Re: FileException when calling getTimes on a DirEntry

2023-12-24 Thread Renato via Digitalmars-d-learn
On Sunday, 24 December 2023 at 15:51:02 UTC, kdevel wrote: On Sunday, 24 December 2023 at 14:19:18 UTC, Renato wrote: I was trying to use a library (fswatch) for watching the file system Watching for what? Your feedback is really abrasive. What a shame, first time I get this kind of attitud

Re: FileException when calling getTimes on a DirEntry

2023-12-24 Thread kdevel via Digitalmars-d-learn
On Sunday, 24 December 2023 at 14:19:18 UTC, Renato wrote: I was trying to use a library (fswatch) for watching the file system Watching for what? [...] My code is really basic, when the directory modified timestamp changes, I list the directory entries with `dirEntries` and then call `dirE