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

Method IsDataStore

loader/Main/DataStore.cs:10–17  ·  view source on GitHub ↗
(string path)

Source from the content-addressed store, hash-verified

8 internal static class DataStore
9 {
10 public static bool IsDataStore(string path)
11 {
12 if (string.IsNullOrEmpty(path))
13 return false;
14
15 return Path.GetFileName(path).Equals("datastore", StringComparison.OrdinalIgnoreCase)
16 && File.Exists(path);
17 }
18
19 public static void DumpDataStore(string path)
20 {

Callers 1

MainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected