Is there a way to determine if a file already exists in the repository?
When we create a new document with an attached file, we would like to check whether the file exists and refer the new document's file:content property to the existing blob instead of copying the same file into the repository over and over again. Is there a way to do this?
Although it's the same file (blob), it includes a new … What should I do?
Heeelp
- this site uses English
- this is not an Anwser, so don't post it in the Answers section
- "me too" comments are generally useless
This is the default behaviour of Nuxeo (VCS). If two binary objects are the exact same then only a single binary will be stored. Effectively, multiple documents will be pointing to the same underlying binary object.