public bool TryCreateFolder(string path)
{
try
{
var container = EnsurePathIsRelativeAndEnsureContainer(ref path);
if (!container.DirectoryExists(path))
{
CreateFolder(path);
return true;
}
// return false to be consistent with FileSystemProvider's implementation
return false;
}
catch
{
return false;
}
}