wsgidav.fs_dav_provider.FilesystemProvider¶
- class wsgidav.fs_dav_provider.FilesystemProvider(root_folder, *, readonly=False, shadow=None)[source]¶
Bases:
wsgidav.dav_provider.DAVProvider
Optionally implement custom request handling.
FilesystemProvider.exists
(path, environ)Return True, if path maps to an existing resource.
FilesystemProvider.get_resource_inst
(path, ...)Return info dictionary for path.
FilesystemProvider.is_collection
(path, environ)Return True, if path maps to an existing collection resource.
FilesystemProvider.ref_url_to_path
(ref_url)Convert a refUrl to a path, by stripping the share prefix.
FilesystemProvider.set_lock_manager
(lock_manager)FilesystemProvider.set_mount_path
(mount_path)Set application root for this resource provider.
FilesystemProvider.set_prop_manager
(prop_manager)FilesystemProvider.set_share_path
(share_path)Set application location for this resource provider.