[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

This commit is contained in:
Mohit Singh
2024-08-13 11:58:02 +05:30
parent 569d9e85d1
commit a225f66198

View File

@@ -367,25 +367,6 @@ public class NodesEntityResource implements
}
}
/**
* Providing the response from SimpleCache.
*/
private Map<String, Object> getResult(Map<String, Object> cachedResult)
{
Map<String, Object> result;
if(cachedResult.containsKey("size"))
{
cachedResult.put(STATUS, COMPLETED);
result = cachedResult;
}
else
{
result = cachedResult;
}
return result;
}
/**
* Validating node permission [i.e. READ permission should be there ]
*/