public string[] SearchFile(string keyword) { IStorage storage = new Hydra.Storage(); string[] msg = storage.SearchFile(keyword); return(msg); }
public Boolean file_incomplete(string directory) { Storage search = new Storage(); string[] result = new string[100]; string path = Path.GetFileName(directory); result = search.SearchFile(path); if (result.Contains("/" + path + "._COPYING_")) { response = true; } return(response); }