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