public MainDB GetDatabaseForCommitHash(string commitSha, bool ignoreCache = false) { return(new MainDB(Api.GetContent(commitSha, "/src/common/Network/PacketDef/Ipcs.h", ignoreCache), Api.GetContent(commitSha, "/src/common/Common.h", ignoreCache), Api.GetContent(commitSha, "/src/common/Network/PacketDef/Zone/ServerZoneDef.h", ignoreCache), Api.GetContent(commitSha, "/src/common/Network/PacketDef/Zone/ClientZoneDef.h", ignoreCache), Api.GetContent(commitSha, "/src/common/Network/CommonActorControl.h", ignoreCache))); }
public void TestGetContent() { var content = _api.GetContent(_api.Commits[_api.Commits.Length - 1].Sha, "CMakeLists.txt"); Assert.NotNull(content); }