Skip to content

Commit

Permalink
code quoting const UStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 2, 2020
1 parent 1b64020 commit 316f3b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bot.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
export precompileActivator, precompileDeactivator, precompilePather, @snoopiBot, @snoopiBenchBot, BotConfig

UStrings = Union{AbstractString,Regex,AbstractChar}
const UStrings = Union{AbstractString,Regex,AbstractChar}
################################################################
"""
BotConfig
Config object that holds the options and configuration for the snoopCompile bot. This object is fed to the `@snoopiBot`.
Config object that holds the options and configuration for the SnoopCompile bot. This object is fed to the `@snoopiBot`.
# Arguments:
- packageName::String
- subst::Vector{Pair{UStrings, UStrings}} : to replace a packages precompile setences with another's package like ["ImageTest" => "Images"]
- blacklist::Vector{UStrings} : to remove some precompile sentences
- `packageName::String`
- `subst::Vector{Pair{UStrings, UStrings}}` : to replace a packages precompile setences with another's package like `["ImageTest" => "Images"]`
- `blacklist::Vector{UStrings}` : to remove some precompile sentences
UStrings == Union{AbstractString,Regex,AbstractChar} # every string like type that replace() has a method for.
`const UStrings == Union{AbstractString,Regex,AbstractChar}` # every string like type that `replace()` has a method for.
"""
struct BotConfig
packageName::String
Expand Down

0 comments on commit 316f3b9

Please sign in to comment.