Skip to content

Check things on a pathname. Is there anything? Is it a file? Is it writable? ...

Dr. Nicola Mingotti edited this page Jan 6, 2022 · 2 revisions
  • To check if a directory exists in your filesystem do this, return Boolean
    '/home/foo/foobar' asDirectoryEntry exists.
  • To check if a file exists in your filesystem do this, return Boolean
    '/home/foo/abc.txt' asFileEntry exists.
  • ATTENTION. unfortunately it sounds wrong, it should be maybe be 'doesExist' .
Clone this wiki locally