| 2076 | } |
| 2077 | |
| 2078 | static int dav_fs_is_writable(const dav_resource *resource, int propid) |
| 2079 | { |
| 2080 | const dav_liveprop_spec *info; |
| 2081 | |
| 2082 | #ifdef DAV_FS_HAS_EXECUTABLE |
| 2083 | /* if we have the executable property, and this isn't a collection, |
| 2084 | then the property is writable. */ |
| 2085 | if (propid == DAV_PROPID_FS_executable && !resource->collection) |
| 2086 | return 1; |
| 2087 | #endif |
| 2088 | |
| 2089 | (void) dav_get_liveprop_info(propid, &dav_fs_liveprop_group, &info); |
| 2090 | return info->is_writable; |
| 2091 | } |
| 2092 | |
| 2093 | static dav_error *dav_fs_patch_validate(const dav_resource *resource, |
| 2094 | const apr_xml_elem *elem, |
nothing calls this directly
no test coverage detected