tan-tan-kanarek / github-php-client

MIT License
184 stars 120 forks source link

Add archived status to the repository object #140

Closed ff1601com closed 3 years ago

ff1601com commented 3 years ago

Hey there,

in some cases it could be quite necessary or come in handy if you could iterate through all your organization repositories while excluding the ones that are archived. Therefore I added a function to see if the repository is archived.

The function returns a bool.

One could also name the function isArchived() if that works better.