mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 03:32:57 +00:00
q
This commit is contained in:
parent
6afea08b08
commit
1cec7a7428
@ -375,10 +375,11 @@ public static class Warehouse
|
|||||||
|
|
||||||
public static async AsyncReply<IResource[]> Query(string path)
|
public static async AsyncReply<IResource[]> Query(string path)
|
||||||
{
|
{
|
||||||
var p = path.Trim().Split('/');
|
var p = path.Trim().TrimStart('/').Split('/');
|
||||||
IResource resource;
|
IResource resource;
|
||||||
|
|
||||||
foreach (var store in stores.Keys)
|
foreach (var store in stores.Keys)
|
||||||
|
{
|
||||||
if (p[0] == store.Instance.Name)
|
if (p[0] == store.Instance.Name)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -407,8 +408,7 @@ public static class Warehouse
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user