Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.fs_dav_provider.FilesystemProvider

class wsgidav.fs_dav_provider.FilesystemProvider(rootFolderPath, readonly=False)[source]

Bases: wsgidav.dav_provider.DAVProvider

FilesystemProvider.customRequestHandler(…) Optionally implement custom request handling.
FilesystemProvider.exists(path, environ) Return True, if path maps to an existing resource.
FilesystemProvider.getResourceInst(path, environ) Return info dictionary for path.
FilesystemProvider.isCollection(path, environ) Return True, if path maps to an existing collection resource.
FilesystemProvider.isReadOnly()
FilesystemProvider.refUrlToPath(refUrl) Convert a refUrl to a path, by stripping the share prefix.
FilesystemProvider.setLockManager(lockManager)
FilesystemProvider.setMountPath(mountPath) Set application root for this resource provider.
FilesystemProvider.setPropManager(propManager)
FilesystemProvider.setSharePath(sharePath) Set application location for this resource provider.