rob_cole_2221866's profile

4.5K Messages

 • 

76.3K Points

Mon, Jan 21, 2013 3:13 AM

Closed

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

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
No Responses!