Example #1
0
        public string[] SearchFile(string keyword)
        {
            IStorage storage = new Hydra.Storage();

            string[] msg = storage.SearchFile(keyword);

            return(msg);
        }
Example #2
0
        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);
        }