DavService.GetFromPath Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetFromPath(string, bool, bool)
Get entity by WebDAV path.
public static IEntity GetFromPath(string path, bool sudo = false, bool trashed = false)
Parameters
- path
- string
The full path from the root of the WebDAV repository, e.g. DAV/s3/a21/i41/i42/file.txt or DAV/p3/file.txt
- sudo
- bool
true
to perform action as super user, otherwise false
.
- trashed
- bool
true
to return content even if trashed, otherwise false
.