[Cuis-dev] how to verify a correct path directory in cuis?
Ezequiel Birman
ebirman77 at gmail.com
Mon Nov 11 14:22:00 PST 2024
¡Hola Juan Cruz!
If I understood correctly you are looking for FileSystemEntry >> #exists,
E.g:
'/' asDirectoryEntry exists = true.
'I am not even a valid path' asDirectoryEntry exists = false.
'/Valid/path/but' asDirectoryEntry exists = false
On Mon, 11 Nov 2024 at 18:50, Juan Cruz Montero via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> Hello everyone,
>
> I’m working on customizing the FileOut functionality in Cuis Smalltalk to
> allow users to specify custom directory paths. However, I've encountered
> some challenges in verifying whether a given path actually exists, so I can
> handle an error if the path is invalid.
>
> I cannot find the correct method in order to verify if the path really
> exists. Any code examples or documentation references would be very
> helpful.
>
> Thanks in advance for your assistance!
>
>
> --
> *atentamente:* *Juan Cruz Montero *
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241111/dd37a8a8/attachment.htm>
More information about the Cuis-dev
mailing list