mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 11:34:54 +00:00
docs templates: document the Email type methods in more detail
This commit is contained in:
parent
d00c02fb07
commit
ac1be9374b
1 changed files with 8 additions and 2 deletions
|
@ -166,10 +166,16 @@ The following methods are defined.
|
|||
|
||||
### Email type
|
||||
|
||||
The email field of a signature may or may not look like an email address. It may
|
||||
be empty, may not contain the symbol `@`, and could in principle contain
|
||||
multiple `@`s.
|
||||
|
||||
The following methods are defined.
|
||||
|
||||
* `.local() -> String`
|
||||
* `.domain() -> String`
|
||||
* `.local() -> String`: the part of the email before the first `@`, usually the
|
||||
username.
|
||||
* `.domain() -> String`: the part of the email after the first `@` or the empty
|
||||
string.
|
||||
|
||||
### Integer type
|
||||
|
||||
|
|
Loading…
Reference in a new issue