Esempio n. 1
0
 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)));
 }
Esempio n. 2
0
        public void TestGetContent()
        {
            var content = _api.GetContent(_api.Commits[_api.Commits.Length - 1].Sha, "CMakeLists.txt");

            Assert.NotNull(content);
        }