Lightroom SDK (1.3 through v4): Documentation for LrFileUtils.isWritable

  • 2
  • Problem
  • Updated 6 years ago
API doc says:

LrFileUtils.isWritable( path )
Reports whether a path indicates a writable disk file.

First supported in version 1.3 of the Lightroom SDK.
Parameters

1. path
(string) The path.

Return value
(Boolean) True if there is a file that can be written to at this path; false if not.

but:

* a file need not exist at this path ("is" implies "exists")
* this function can also determine if directory is writable - that should be stated explicitly.

R
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 6 years ago

  • 2

Be the first to post a reply!