Stripping weird UNC prefix from local path
This commit is contained in:
parent
fc6e517373
commit
11102c90cc
|
@ -95,7 +95,15 @@ namespace Acacia.Stubs.OutlookWrappers
|
||||||
public string StoreID { get { return _item.StoreID; } }
|
public string StoreID { get { return _item.StoreID; } }
|
||||||
|
|
||||||
public bool IsFileStore { get { return _item.IsDataFileStore; } }
|
public bool IsFileStore { get { return _item.IsDataFileStore; } }
|
||||||
public string FilePath { get { return _item.FilePath; } }
|
public string FilePath
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
// Sometimes local paths include a ? UNC prefix which complicates checking for local
|
||||||
|
// folders. Strip that.
|
||||||
|
return _item.FilePath?.StripPrefix(@"\\?\");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void EmptyDeletedItems()
|
public void EmptyDeletedItems()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue