Skip to content

Commit

Permalink
Update sample.jl (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Feb 26, 2024
1 parent 8217238 commit 2a77f53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sample.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
const PROGRESS = Ref(true)

"""
setprogress!(progress::Bool)
setprogress!(progress::Bool; silent::Bool=false)
Enable progress logging globally if `progress` is `true`, and disable it otherwise.
Enable progress logging globally if `progress` is `true`, and disable it otherwise.
Optionally disable informational message if `silent` is `true`.
"""
function setprogress!(progress::Bool; silent::Bool=false)
if !silent
Expand Down

2 comments on commit 2a77f53

@yebai
Copy link
Member Author

@yebai yebai commented on 2a77f53 Feb 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/101755

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v5.2.0 -m "<description of version>" 2a77f53114c4b3c5a11a3759e39233dab9e16f9a
git push origin v5.2.0

Please sign in to comment.