public static void test_h_functions() { //register file Cosmos hydra_storage = new Cosmos(); //hydra_storage.RegisterFile("C:\\Users\\sirius\\Desktop\\nyeh");//PASSED 12:26 PM //hydra_storage.RegisterFile("C:\\thign.txt"); //PASSED 12:26 PM hydra_storage.GetFile("hi3.txt"); //PASSED 13:55 ; need to be specific filename //hydra_storage.EditFile("xxx.txt"); //gets file from hdfs then you edit at editfiles folder //Console.WriteLine("ni hao"); // string[] searchfiles = hydra_storage.SearchFile("thign"); // int counter = 0; // while ((searchfiles[counter]) != null){ // Console.WriteLine(searchfiles[counter]); // counter++; // } //int milliseconds = 2000; //Thread.Sleep(milliseconds); //hydra_storage.DeleteFile("thign"); //NEED TO BE SPECIFIC (IE FILE EXTENSION) IF TWO FILES HAVE SAME NAME :O) //hydra_storage.SaveFile(); }