TeamMentor.CoreLib.TM_Xml_Database_Git_ExtensionMethods.git_Pull_Library C# (CSharp) Method

git_Pull_Library() public static method

public static git_Pull_Library ( this nGit ) : FluentSharp.Git.APIs.API_NGit
nGit this
return FluentSharp.Git.APIs.API_NGit
        public static API_NGit git_Pull_Library(this API_NGit nGit)
        {
            var tmFileStorage = TM_FileStorage.Current;
            var tmServer = tmFileStorage.tmServer();
            if (tmServer.notNull())
                if (tmServer.Git.LibraryData_Auto_Pull)
                    try
                    {
                        nGit.pull();
                    }
                    catch (Exception ex)
                    {
                        ex.log("git_Pull_Library");
                    }
            return nGit;
        }