If I utilize the LrFileUtils.delete( path ) or LrFileUtils.moveToTrash( path ) functions, and the file deleted is also in the catalog, does it get deleted from the Catalog as well? If not, is there another command such as catalog:removePhoto( path, stackWithPhoto ) that accomplishes this last step?
No, the LrFileUtils calls are only wrappers around the OS-level file management routines.
There is no removePhoto command at this time. Noted as a feature request.
Thanks for the direct and speedy reply Eric. Thank you for noting this as well for a future enhancement.