Esempio n. 1
0
File: KfsScan.cs Progetto: tmbx/kwm
        /// <summary>
        /// Helper method for GetStalePathArray(). 
        /// </summary>
        private void GetStalePathArrayRecursive(List<string> _staleArray, KfsStaleTreeEntry _entry, String _path)
        {
            if (_entry.IsStale())
            {
                _staleArray.Add(_path);
                return;
            }

            foreach (KfsStaleTreeEntry child in _entry.ChildTree.Values)
            {
                String cp = _path;
                if (cp != "") cp += "/";
                cp += child.Name;
                GetStalePathArrayRecursive(_staleArray, child, cp);
            }
        }