[Owncloud] Is it possible for a file's parent storage to be different from its own storage?
Sarah Jones
sarah.e.p.jones at gmail.com
Mon Apr 29 22:23:39 UTC 2013
Hi,
I'm looking at the code in core lib/files/cache.cache.php.
For my app I need the storage string, and to cut everything before /data.
I'm building a multiinstance owncloud app, so I cannot use "fileid" from
filecache between instances; I'm using the storage and path as a key
instead.
However, if the storage string is more than 64 chars, the storageid is
hashed, which makes this not possible.
I can work around this for the current file, but I need it's parent's
storage as well. Is it safe to assume that a child file and its parent
will always have the same storageid?
Thanks,
~Sarah Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130429/60e3bf04/attachment.html>
More information about the Owncloud
mailing list