Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Config
Method · 0.80
Calls
1
Create
Method · 0.80
Tested by
no test coverage detected