Revision fbbbe99b trunk/Pithos.Core/Agents/FileAgent.cs

b/trunk/Pithos.Core/Agents/FileAgent.cs
373 373

  
374 374

  
375 375
        private Dictionary<WatcherChangeTypes, FileStatus> _statusDict = new Dictionary<WatcherChangeTypes, FileStatus>
376
        {
376
                                                                             {
377 377
            {WatcherChangeTypes.Created,FileStatus.Created},
378 378
            {WatcherChangeTypes.Changed,FileStatus.Modified},
379 379
            {WatcherChangeTypes.Deleted,FileStatus.Deleted},
380 380
            {WatcherChangeTypes.Renamed,FileStatus.Renamed}
381 381
        };
382 382

  
383
        private Dictionary<string,string> _ignoreFiles=new Dictionary<string, string>();
383
        private Dictionary<string, string> _ignoreFiles=new Dictionary<string, string>();
384 384

  
385 385
        private WorkflowState UpdateFileStatus(WorkflowState state)
386 386
        {
......
483 483
            return false;
484 484
        }
485 485

  
486
        public static FileAgent GetFileAgent(AccountInfo accountInfo)
487
        {
488
            return GetFileAgent(accountInfo.AccountPath);
489
        }
490

  
491
        public static FileAgent GetFileAgent(string rootPath)
492
        {
493
            return AgentLocator<FileAgent>.Get(rootPath.ToLower());
494
        }
495

  
496

  
486 497
        public FileSystemInfo GetFileSystemInfo(string relativePath)
487 498
        {
488 499
            if (String.IsNullOrWhiteSpace(relativePath))

Also available in: Unified diff