Hi,
Could “DirectoryUtils.SynchronizeDirectories” return something on success/failure?
Thanks,
Mike
That function will throw an exception if there is an error during the synchronization, so I don’t think returning true/false is necessary.
Cheers,
- Ryan
OK, exception is good for when it goes wrong, so I can handle that and assume if “not exception” then must be success.Thanks.
I was kinda of thinking that the other function:
DirectoryUtils.SynchronizeFiles
“returns True if synchronization was required”
just wondering if the same should be available for: “DirectoryUtils.SynchronizeDirectories” as it currently returns: “None”
Ah, I see. Yeah, we can have it return True if a sync was required and false if it wasn’t.