Skip to content

proposal: x/net/webdav: support filesystem-provided dead property holders #80232

Description

@izouxv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.Proposal

    Type

    No type

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions