- Timestamp:
- Aug 21, 2013 11:02:55 AM (11 years ago)
- Branches:
- master
- Children:
- 9353238
- Parents:
- c5b427c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/github/GitHubBackup.pm
rc5b427c rf38b66d 165 165 sub full_name { 166 166 return (shift)->{repos}{full_name}; 167 } 168 169 sub has_downloads { 170 return (shift)->{repos}{has_downloads}; 171 } 172 173 sub forks_count { 174 return (shift)->{repos}{forks_count}; 175 } 176 177 sub has_wiki { 178 return (shift)->{repos}{has_wiki}; 179 } 180 181 sub has_issues { 182 return (shift)->{repos}{has_issues}; 167 183 } 168 184 … … 295 311 my $self = shift; 296 312 297 $self->clone_git ;298 $self->set_forks ;299 $self->clone_wiki ;300 $self->save_issues ;313 $self->clone_git if ($self->has_downloads eq 'true'); 314 $self->set_forks if ($self->forks_count > 0); 315 $self->clone_wiki if ($self->has_wiki eq 'true'); 316 $self->save_issues if ($self->has_issues eq 'true'); 301 317 302 318 return $self;
Note: See TracChangeset
for help on using the changeset viewer.