Any ideas on how to determine if a plugin is interacting with a brand new file (i.e. the file has never been saved)?
I found a method to determine a file’s creation date in this post.
It seems that
null on a temp (un-saved) file until it is saved. I’m thinking this might be a reliable way to determine if a document is in an un-saved state, but I’m wondering if there might be a better approach?