webdav_client icon indicating copy to clipboard operation
webdav_client copied to clipboard

Expose props of a file

Open provokateurin opened this issue 3 years ago • 5 comments

It would be nice to access the props of a file directly, because they contain information that sometimes is useful or necessary to access. For example Nextcloud makes use of this heavily.

provokateurin avatar Feb 05 '22 15:02 provokateurin

ok, i'll take a look

flymzero avatar Feb 06 '22 01:02 flymzero

I can also make a PR if you want :) Just wanted to note down, that the feature would be appreciated. I don't know when I will have the time exactly though.

provokateurin avatar Feb 06 '22 08:02 provokateurin

I'm glad you can make a PR😋. I checked Nextcloud. The props you said should be the attribute corresponding to XML. I'm busy with other things now. Later, I'm going to change it and optimize the structure and dependency

flymzero avatar Feb 09 '22 01:02 flymzero

I'm making a rewrite/starting from scratch with that library and I decided to not keep my own implementation of WebDAV. As I'll be a heavy consumer of this library, I'll probably contribute some stuff in the future.

provokateurin avatar Feb 09 '22 08:02 provokateurin

I'm very glad you can contribute code😁

flymzero avatar Feb 09 '22 08:02 flymzero