antoniop
committed
on 24 Feb 23
Deprecate fs::add_created_version

This api was nowhere used in upstream code, however, allowed to create a new file object revision by text… Show more
Deprecate fs::add_created_version

This api was nowhere used in upstream code, however, allowed to create a new file object revision by text content, different from fs::add_version, which would only allow to create a revision from a file.

As the two apis were otherwise identical, I have ported the behavior of fs::add_created_version info fs::add_version.

The new fs::add_version will also take many defaults for unspecified parameters from the existing content item.

Show less