MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / EnsureFileExists

Method EnsureFileExists

loader/Main/Utils.cs:45–49  ·  view source on GitHub ↗
(string path)

Source from the content-addressed store, hash-verified

43 }
44
45 public static void EnsureFileExists(string path)
46 {
47 if (!File.Exists(path))
48 File.Create(path).Close();
49 }
50
51 public static string NormalizePath(string path)
52 {

Callers 1

ConfigMethod · 0.80

Calls 1

CreateMethod · 0.80

Tested by

no test coverage detected