Commits

Anonymous committed edd8aa4

Renamed some classes.

Comments (0)

Files changed (2)

     and ::PathComponent). Most of the methods out of ::Base belong there
     so they were moved. This class inherits from ::Base, but there's not
     a lot there anymore.
+    - Refactoring - renamed ::PathComponent as ::DeepPath and ::PathTop
+    as ::TopPath. Otherwise they could be confused with ::PathComp.
 
 0.1.5 - Sat Jan  3 17:17:31 IST 2009
     - Unified the two calls to stat() (and several calls to other file

lib/File/Find/Object.pm

-package File::Find::Object::PathComponent;
+package File::Find::Object::DeepPath;
 
 use strict;
 use warnings;
     }
 }
 
-package File::Find::Object::PathTop;
+package File::Find::Object::TopPath;
 
 use base 'File::Find::Object::PathComp';
 
     $tree->_calc_default_actions();
 
     $tree->_path_top(
-        File::Find::Object::PathTop->new($tree)
+        File::Find::Object::TopPath->new($tree)
     );
 
     $tree->_last_dir_scanned(undef);
         return "SKIP";
 
     push @{$self->_dir_stack()}, 
-        File::Find::Object::PathComponent->new(
+        File::Find::Object::DeepPath->new(
             $self,
             $self->_current(),
             scalar(@{$self->_dir_stack()})