mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-16 16:52:46 -05:00
tst: winfsp-tests: Overwrite: EA support
This commit is contained in:
@ -1115,10 +1115,15 @@ namespace memfs
|
||||
{
|
||||
FileNode FileNode = (FileNode)FileNode0;
|
||||
SortedDictionary<String, EaValueData> EaMap = FileNode.GetEaMap(true);
|
||||
EaValueData Data;
|
||||
Data.EaValue = EaValue;
|
||||
Data.NeedEa = NeedEa;
|
||||
EaMap[EaName] = Data;
|
||||
if (null != EaValue)
|
||||
{
|
||||
EaValueData Data;
|
||||
Data.EaValue = EaValue;
|
||||
Data.NeedEa = NeedEa;
|
||||
EaMap[EaName] = Data;
|
||||
}
|
||||
else
|
||||
EaMap.Remove(EaName);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user