/// Updates all tree listings by running three git commands.
        private static void UpdateTrees()
        {
            if (string.IsNullOrEmpty(mRepositoryLocation))
            {
                mRepositoryLocation = Git.RepositoryLocation();
            }

            // Get list of files
            VersionControl.FindFiles(OnFindFiles);

            // Get list of branches
            VersionControl.FindBranches(OnFindBranches);
        }
        /// Updates all tree listings by running three git commands.
        private static void UpdateTrees()
        {
            if (string.IsNullOrEmpty(mRepositoryLocation) && !_runningLocationProcess)
            {
                _runningLocationProcess = true;
                VersionControl.GetRepositoryLocation(OnRepositoryLocation);
            }

            // Get list of files
            VersionControl.FindFiles(OnFindFiles);

            // Get list of branches
            VersionControl.FindBranches(OnFindBranches);
        }
Exemplo n.º 3
0
 static void GUITest_FileList()
 {
     UVCProcessPopup.Init(VersionControl.FindFiles(CommandLine.EmptyHandler), false, true, OnFindFiles_GUI, false);
 }
Exemplo n.º 4
0
 static void CoreTest_FileList()
 {
     Debug.Log("Getting file list...");
     VersionControl.FindFiles(OnFindFiles);
 }