storj-thirdparty / uplink-php

Uplink library bindings for PHP
MIT License
34 stars 6 forks source link

objectinfo: simpler constructor #23

Closed Erikvv closed 2 years ago

Erikvv commented 2 years ago

Remove the C struct from the ObjectInfo constructor, so that ObjectInfo can be instantiated from user code. This allow the user to use this object in caching logic.

example usage: https://github.com/storj-thirdparty/nextcloud-app/pull/15