Example #1
0
 public static void Replace(Hierarchy hierarchy, string sourceFileName, string destinationFileName, string destinationBackupFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Replace");
 }
Example #2
0
 public static string[] List(Hierarchy hierarchy, string mask = "*", bool include_subdirs = false, string subdir = null)
 {
     return(List(hierarchy.SolveFull(false, subdir ?? "."), mask, include_subdirs));
 }
Example #3
0
 public static void AppendAllText(Hierarchy hierarchy, string contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
Example #4
0
 public static void WriteAllLines(Hierarchy hierarchy, string[] contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
Example #5
0
 public static void WriteAllText(Hierarchy hierarchy, string path, string contents)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllText");
 }
Example #6
0
 public static string CalculateRelativePath(string fullDestinationPath)
 {
     return(Hierarchy.CalculateRelativePath(fullDestinationPath, Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)));            //FIXME: This only works when KSPe is on the GameData/ !!
 }
Example #7
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, DateTime lastWriteTimeUtc, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
Example #8
0
 public static SIO.FileStream OpenWrite(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenWrite");
 }
Example #9
0
 public static byte[] ReadAllBytes(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllBytes(path));
 }
Example #10
0
 public static SIO.FileStream OpenRead(Hierarchy hierarchy, string path)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenRead");
 }
Example #11
0
 public static SIO.StreamReader OpenText(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenText");
 }
Example #12
0
 public static SIO.FileStream Open(Hierarchy hierarchy, SIO.FileMode mode, SIO.FileAccess access, SIO.FileShare share, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.Open");
 }
Example #13
0
 public static SIO.FileStream Open(Hierarchy hierarchy, string path, SIO.FileMode mode, SIO.FileAccess access)
 {
     throw new NotImplementedException("KSPe.IO.File.Open");
 }
Example #14
0
 public static void Replace(Hierarchy hierarchy, string sourceFileName, Hierarchy destHierarchy, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)
 {
     throw new NotImplementedException("KSPe.IO.File.Replace");
 }
Example #15
0
 public static void SetCreationTime(Hierarchy hierarchy, DateTime creationTime, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetCreationTime");
 }
Example #16
0
 public static string ReadAllText(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllText(path));
 }
Example #17
0
 public static void SetLastAccessTime(Hierarchy hierarchy, string path, DateTime lastAccessTime)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastAccessTime");
 }
Example #18
0
        public static string ReadAllText(Hierarchy hierarchy, string fn, params string[] fns)
        {
            string path = hierarchy.SolveFull(false, fn, fns);

            return(SIO.File.ReadAllText(path));
        }
Example #19
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, string path, DateTime lastWriteTimeUtc)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
Example #20
0
 public static string ReadAllText(Hierarchy hierarchy, string path, System.Text.Encoding encoding)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllText(path, encoding));
 }
Example #21
0
 public static void WriteAllBytes(Hierarchy hierarchy, string path, byte[] bytes)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllBytes");
 }
Example #22
0
        public static string ReadAllText(Hierarchy hierarchy, System.Text.Encoding encoding, string fn, params string[] fns)
        {
            string path = hierarchy.SolveFull(false, fn, fns);

            return(SIO.File.ReadAllText(path, encoding));
        }
Example #23
0
 public static void WriteAllLines(Hierarchy hierarchy, string path, string[] contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
Example #24
0
 public static void SetAccessControl(Hierarchy hierarchy, System.Security.AccessControl.FileSecurity fileSecurity, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
Example #25
0
 public static void WriteAllText(Hierarchy hierarchy, string contents, System.Text.Encoding encoding, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllText");
 }
Example #26
0
 public static void SetAttributes(Hierarchy hierarchy, string path, SIO.FileAttributes fileAttributes)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
Example #27
0
 public static string[] List(Hierarchy hierarchy, string mask = "*", bool include_subdirs = false, string fn = null, params string[] fns)
 {
     return(List(hierarchy.SolveFull(false, fn ?? ".", fns), mask, include_subdirs));
 }
Example #28
0
 public static void SetAttributes(Hierarchy hierarchy, SIO.FileAttributes fileAttributes, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
Example #29
0
 public static void AppendAllText(Hierarchy hierarchy, string path, string contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
Example #30
0
 public static void Movel(Hierarchy sourceHierarchy, string sourceFileName, Hierarchy destHierarchy, string destFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Move");
 }