Zotero api for file system operation
Hi, guys.
I have searched google, chatgpt, and zotero forum, but none of them give me a clear documentation that describe the zotero apis when interacting with file system, like write content to local file system when developing plugins. I can see there is a typescript package '@types/zotero-types' provide a OS module that have methods like 'exists, read, move, remove, writeAtomic, makeDir, copy...', however, it seems take no effects when i invoke OS.File.writeAtomic(...), I have no idea why is it. Could anyone give some hints or where can i find a clear documentation of such operations? Thanks in advance
I have searched google, chatgpt, and zotero forum, but none of them give me a clear documentation that describe the zotero apis when interacting with file system, like write content to local file system when developing plugins. I can see there is a typescript package '@types/zotero-types' provide a OS module that have methods like 'exists, read, move, remove, writeAtomic, makeDir, copy...', however, it seems take no effects when i invoke OS.File.writeAtomic(...), I have no idea why is it. Could anyone give some hints or where can i find a clear documentation of such operations? Thanks in advance
-
hsiangyu_wongIf you have questions about development or would like to discuss development with Zotero developers, you can consult and post to the zotero-dev mailing list (https://groups.google.com/g/zotero-dev).