GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
johnpearcey
/
dub_jkp
Browse code
Configy: Add StartsWith as a shorthand for Name(name, true)
It is a more descriptive name, to be used extensively for recipe parsing.
master
1 parent
09a681d
commit
7020f38db179561e7f4d654522bd2af5db5efcd5
Geod24
authored
on 12 Aug 2022
Mathias LANG
committed
on 12 Aug 2022
Patch
Unified
Split
Showing
1 changed file
+6
-0
■
■
■
■
■
source/configy/Attributes.d
Ignore Space
Show notes
View
6
■
■
■
■
■
source/configy/Attributes.d
public
string
name
;
///
public
bool
startsWith
;
}
/// Short hand syntax
public
Name
StartsWith
(
string
name
)
@safe
pure nothrow
@nogc
{
return
Name
(
name
,
true
);
}
/*******************************************************************************
Show line notes below