Roxen.git / server / etc / modules / PropertySet.pike

version» Context lines:

Roxen.git/server/etc/modules/PropertySet.pike:544:    }    // RFC 2518 12.13.1:    // Specifying the removal of a property that does not exist    // is not an error.    return 0;   }      //! RFC 2518 PROPFIND implementation for a single resource (i.e. not   //! recursive).   //! - //! @param path - //! @[query_location()]-relative path. +    //! @param mode   //! Query mode. Currently one of   //! @string mode   //! @value "DAV:propname"   //! Query names of supported properties.   //! @value "DAV:allprop"   //! Query all properties and their values.   //! @value "DAV:prop"   //! Query properties specified by @[filt] and their values.   //! @endstring   //! @param result - //! Result object. + //! @[MultiStatus.Prefixed] object to collect the results. It has + //! the path to the file system as implicit prefix.   //! @param filt   //! Optional multiset of requested properties. If this parameter   //! is @expr{0@} (zero) then all available properties are requested.   mapping(string:mixed) find_properties(string mode, -  MultiStatus result, +  MultiStatus.Prefixed result,    multiset(string)|void filt)   {    switch(mode) {    case "DAV:propname":    filt = query_all_properties();    foreach(filt; string prop_name;) {    result->add_property(path, prop_name, "");    }    break;    case "DAV:allprop":