ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Scram/ScramProjectDB.pm
(Generate patch)

Comparing COMP/SCRAM/src/Scram/ScramProjectDB.pm (file contents):
Revision 1.1.2.1 by williamc, Fri Apr 28 12:47:35 2000 UTC vs.
Revision 1.1.2.2 by williamc, Thu May 4 07:53:18 2000 UTC

# Line 13 | Line 13
13   # file()                   : return the db file
14   # getarea(name,version) : return the object matching the name version
15   # addarea(ConfigArea)   : add a project
16 + # list()                : list areas (retunns $name,$version pairs)
17   # removearea(name,version) : remove the named project
18   # link(dblocation) : link with specified db
19   # unlink(dblocation) : remove link with a specified db
# Line 55 | Line 56 | sub getarea {
56             $self->verbose("area found");
57           }
58          }
59 +        else {
60 +           $self->verbose("Area $name $version not found");
61 +        }
62          return $area;
63   }
64  
# Line 70 | Line 74 | sub addarea {
74          $self->_save();
75   }
76  
77 + sub list {
78 +        my $self=shift;
79 +        return @{$self->{projects}};
80 + }
81 +
82   sub removearea {
83          my $self=shift;
84          my $name=shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines