Exemple #1
0
 public static void Replace(Hierarchy hierarchy, string sourceFileName, string destinationFileName, string destinationBackupFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Replace");
 }
Exemple #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));
 }
Exemple #3
0
 public static void AppendAllText(Hierarchy hierarchy, string contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
Exemple #4
0
 public static void WriteAllLines(Hierarchy hierarchy, string[] contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
Exemple #5
0
 public static void WriteAllText(Hierarchy hierarchy, string path, string contents)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllText");
 }
Exemple #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/ !!
 }
Exemple #7
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, DateTime lastWriteTimeUtc, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
Exemple #8
0
 public static SIO.FileStream OpenWrite(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenWrite");
 }
Exemple #9
0
 public static byte[] ReadAllBytes(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllBytes(path));
 }
Exemple #10
0
 public static SIO.FileStream OpenRead(Hierarchy hierarchy, string path)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenRead");
 }
Exemple #11
0
 public static SIO.StreamReader OpenText(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenText");
 }
Exemple #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");
 }
Exemple #13
0
 public static SIO.FileStream Open(Hierarchy hierarchy, string path, SIO.FileMode mode, SIO.FileAccess access)
 {
     throw new NotImplementedException("KSPe.IO.File.Open");
 }
Exemple #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");
 }
Exemple #15
0
 public static void SetCreationTime(Hierarchy hierarchy, DateTime creationTime, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetCreationTime");
 }
Exemple #16
0
 public static string ReadAllText(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllText(path));
 }
Exemple #17
0
 public static void SetLastAccessTime(Hierarchy hierarchy, string path, DateTime lastAccessTime)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastAccessTime");
 }
Exemple #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));
        }
Exemple #19
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, string path, DateTime lastWriteTimeUtc)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
Exemple #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));
 }
Exemple #21
0
 public static void WriteAllBytes(Hierarchy hierarchy, string path, byte[] bytes)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllBytes");
 }
Exemple #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));
        }
Exemple #23
0
 public static void WriteAllLines(Hierarchy hierarchy, string path, string[] contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
Exemple #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");
 }
Exemple #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");
 }
Exemple #26
0
 public static void SetAttributes(Hierarchy hierarchy, string path, SIO.FileAttributes fileAttributes)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
Exemple #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));
 }
Exemple #28
0
 public static void SetAttributes(Hierarchy hierarchy, SIO.FileAttributes fileAttributes, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
Exemple #29
0
 public static void AppendAllText(Hierarchy hierarchy, string path, string contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
Exemple #30
0
 public static void Movel(Hierarchy sourceHierarchy, string sourceFileName, Hierarchy destHierarchy, string destFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Move");
 }