The webdav package currently looks for dead properties by opening
files and checking whether the returned File implements
DeadPropsHolder.
That makes it hard for FileSystem implementations that manage dead
properties at the filesystem layer instead of on opened file handles.
It would be useful if a FileSystem could provide a dead property
holder directly so that PROPFIND, PROPPATCH, and property copying for
COPY/MOVE can share the same property source without forcing prop
handling through OpenFile.
This can also improve large-directory performance by letting
implementations cache prop metadata. For example, a directory with
around 10K entries should not need to open each file just to fetch
props.
The webdav package currently looks for dead properties by opening
files and checking whether the returned File implements
DeadPropsHolder.
That makes it hard for FileSystem implementations that manage dead
properties at the filesystem layer instead of on opened file handles.
It would be useful if a FileSystem could provide a dead property
holder directly so that PROPFIND, PROPPATCH, and property copying for
COPY/MOVE can share the same property source without forcing prop
handling through OpenFile.
This can also improve large-directory performance by letting
implementations cache prop metadata. For example, a directory with
around 10K entries should not need to open each file just to fetch
props.