[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 17 17:41:24 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142917

--- Comment #2 from Andreas Säger <villeroy at t-online.de> ---
Indeed, it works with a regular dummy file URL file:///tmp/test/.foo and I must
have made some mistake when testing that URL.

However, my original intention was this:

print fileExists("file:///tmp/test/.~lock.test.ods#")
which detects a lock file for /tmp/test/test,ods when used with AOO but not LO.

print fileExists("/tmp/test/.~lock.test.ods#") works with LO too. So it has
something to do with URL notation vs system notation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210617/524d5b86/attachment.htm>


More information about the Libreoffice-bugs mailing list