Advertisement
RaFaeLs

File system by RaFaeL - Fnctions list

Aug 23rd, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. /*
  2. * Create files
  3. */
  4. public static bool Create(string path) // 0.0049822 sec
  5.  
  6. /*
  7. * Empty file
  8. */
  9. public static bool Empty(string path) // 0.0178945 sec
  10.  
  11. /*
  12. * Copy and Move files
  13. */
  14. public static bool Copy(string path, string newpath, bool destroyfile = true, bool applayfile = false) // 0.0019186 sec
  15. public static bool Move(string path, string newpath, bool destroyfile = false, bool applayfile = false) // 0.0111144 sec
  16.  
  17. /*
  18. * Convet file to setting's file
  19. */
  20. public static bool AddPath(string path, string main = null) // 0.0058414 sec
  21.  
  22. /*
  23. * Only for settings files!
  24. * setting Get, Set, Reset, Delete and Get array
  25. */
  26. public static bool IsSettigs(string path) // 0.0016180 sec
  27. public static bool Isset(string path, string key) // 0.0011265 sec
  28. public static bool SetValue(string path, string key, string value) // 0.0035711 sec
  29. public static bool DeleteValue(string path, string key) // 0.0180497 sec
  30. public static string GetValue(string path, string key) // 0.0022031 sec
  31. public static string[] GetArray(string path, string separator = "=") // 0.0016365 sec
  32. public static bool ResetValue(string path, string key) // 0.0053665 sec
  33.  
  34. /*
  35. * Conventer - Get
  36. */
  37. public static int GetInt32(string path, string key) // 0.0025049 sec
  38. public static long GetInt64(string path, string key) // 0.0026380 sec
  39. public static bool GetBool(string path, string key) // 0.0073689 sec
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement