MCPcopy Create free account

hub / github.com/LukeMathWalker/build-your-own-jira-with-rust / functions

Functions229 in github.com/LukeMathWalker/build-your-own-jira-with-rust

↓ 19 callersMethodinto
(self)
koans-framework/src/lib.rs:215
↓ 9 callersFunctiongenerate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:372
↓ 9 callersMethodget
Retrieve a [Ticket] given an identifier. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:58
↓ 8 callersMethodsave
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:24
↓ 5 callersMethodcreate
Given a ticket draft, it generates a unique identifier, it persists the new ticket in the store (assigning it a [ToDo status](Status::ToDo)) and retur
jira-cli/src/store.rs:26
↓ 5 callersMethodmanifest_path
(&self)
koans-framework/src/lib.rs:39
↓ 5 callersMethodsave
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/07_vec.rs:24
↓ 4 callersFunctioncreate_ticket
So far we have allowed any string as a valid title and description. That's not what would happen in JIRA: we wouldn't allow tickets with an empty titl
jira-wip/src/koans/01_ticket/03_validation.rs:26
↓ 4 callersFunctioncreate_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:79
↓ 4 callersFunctiongenerate_and_persist_ticket
(store: &mut TicketStore)
jira-cli/src/store.rs:184
↓ 4 callersFunctiongenerate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:223
↓ 3 callersMethodadd_comment_to_ticket
(&mut self, id: TicketId, comment: Comment)
jira-cli/src/store.rs:79
↓ 3 callersMethoddelete
Remove a [Ticket] from the store. Returns None if the [Ticket](Ticket) is not there or [DeletedTicket](DeletedTicket) if there was one.
jira-cli/src/store.rs:41
↓ 3 callersMethodenlightenment_path
(&self)
koans-framework/src/lib.rs:35
↓ 3 callersFunctiongenerate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:145
↓ 3 callersFunctiongenerate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/02_option.rs:98
↓ 3 callersFunctiongenerate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/01_store.rs:117
↓ 3 callersMethodlist
Returns list off all inserted [Ticket](Ticket) Returns an empty list of tickets is there are no tickets in the store
jira-cli/src/store.rs:47
↓ 3 callersMethodsave
(&mut self, ticket: Ticket, id: u32)
jira-wip/src/koans/02_ticket_store/02_option.rs:15
↓ 3 callersMethodsave
We take `&mut self` because we will have to mutate our HashMap to insert a new key-value pair.
jira-wip/src/koans/02_ticket_store/01_store.rs:42
↓ 3 callersMethodupdate_ticket
Update a [Ticket] given an identifier and new [TicketPatch]. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:63
↓ 2 callersFunctiondata_store_filename
()
jira-cli/src/persistence.rs:17
↓ 2 callersFunctiongenerate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:103
↓ 2 callersFunctiongenerate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/06_result.rs:225
↓ 2 callersFunctiongenerate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:159
↓ 2 callersFunctiongenerate_ticket_patch
(status: Status)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:379
↓ 2 callersMethodget
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:41
↓ 2 callersMethodn_opened
(&self)
koans-framework/src/lib.rs:89
↓ 2 callersMethodnext
(&self)
koans-framework/src/lib.rs:129
↓ 2 callersFunctionparse_bool
(s: &str)
koans-framework/src/main.rs:82
↓ 2 callersMethodsave
So far we have taken the `id` as one the parameters of our `save` method. What happens when you call save passing two different tickets with the same
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:47
↓ 2 callersMethodsave
(&mut self, ticket: Ticket)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:32
↓ 2 callersMethodsave
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/06_result.rs:118
↓ 2 callersMethodsave
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:59
↓ 2 callersMethodupdate
We take in an `id` and a `patch` struct: this allows us to constrain which of the fields in a `Ticket` can actually be updated. For example, we don't
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:60
↓ 2 callersMethodupdate_ticket_status
Update a [Ticket] [Status] given an identifier and new [Status]. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:75
↓ 1 callersMethodconfiguration
(&self)
koans-framework/src/lib.rs:85
↓ 1 callersFunctioncreate_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/05_ownership.rs:87
↓ 1 callersFunctioncreate_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/04_visibility.rs:36
↓ 1 callersFunctioncreate_ticket_draft
(title: String, description: String)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:100
↓ 1 callersMethoddelete
If the `id` passed in matches a ticket in the store, we return the deleted ticket with some additional metadata. If it doesn't, we return `None`.
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:67
↓ 1 callersMethoddelete
(&mut self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:71
↓ 1 callersMethodgenerate_id
(__)
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:58
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:42
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/07_vec.rs:49
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:71
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:78
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/06_result.rs:135
↓ 1 callersMethodgenerate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:81
↓ 1 callersMethodgenerate_id
Generate a unique id by incrementing monotonically a private counter.
jira-cli/src/store.rs:52
↓ 1 callersFunctiongenerate_ticket_draft
()
jira-wip/src/koans/03_cli/01_persistence.rs:77
↓ 1 callersMethodget
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:38
↓ 1 callersMethodget
(&self, id: &u32)
jira-wip/src/koans/02_ticket_store/01_store.rs:46
↓ 1 callersMethodget
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/07_vec.rs:37
↓ 1 callersMethodget
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/06_result.rs:131
↓ 1 callersMethodget
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:77
↓ 1 callersMethodkoans_path
(&self)
koans-framework/src/lib.rs:31
↓ 1 callersFunctionload
Fetch authentication parameters from a configuration file, if available.
jira-wip/src/koans/03_cli/01_persistence.rs:22
↓ 1 callersFunctionload
Fetch authentication parameters from a configuration file, if available.
jira-cli/src/persistence.rs:36
↓ 1 callersMethodopen_next
(&mut self)
koans-framework/src/lib.rs:138
↓ 1 callersMethodopened
(&self)
koans-framework/src/lib.rs:125
↓ 1 callersFunctionrun_tests
(manifest_path: &Path, filter: Option<&str>)
koans-framework/src/main.rs:108
↓ 1 callersFunctionsave
Save tickets on disk in the right file.
jira-wip/src/koans/03_cli/01_persistence.rs:43
↓ 1 callersFunctionsave
Save tickets on disk in the right file.
jira-cli/src/persistence.rs:58
↓ 1 callersFunctionseek_the_path
(koans: &KoanCollection)
koans-framework/src/main.rs:90
Functiona_blocked_ticket
()
jira-wip/src/koans/01_ticket/02_status.rs:37
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:82
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/04_metadata.rs:126
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/02_option.rs:77
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/01_store.rs:94
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:204
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:340
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/06_result.rs:206
Functiona_missing_ticket
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:138
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:70
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/04_metadata.rs:111
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/02_option.rs:62
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/01_store.rs:62
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:190
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:325
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/06_result.rs:192
Functiona_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:123
Functionadd_comment_to_invalid_ticket_id_returns_none
()
jira-cli/src/store.rs:295
Functionadd_comment_to_ticket
()
jira-cli/src/store.rs:279
Functionassertions
()
jira-wip/src/koans/01_ticket/07_derive.rs:35
Functioncargo_style
()
koans-framework/src/main.rs:153
Functioncreate_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/08_recap.rs:35
Functioncreate_ticket_test
()
jira-cli/src/store.rs:92
Methodcreated_at
The datetime when the ticket was saved in the store, if it was saved.
jira-wip/src/koans/02_ticket_store/04_metadata.rs:69
Methodcreated_at
(&self)
jira-wip/src/koans/02_ticket_store/07_vec.rs:119
Methodcreated_at
(&self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:191
Methodcreated_at
(&self)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:183
Methodcreated_at
(&self)
jira-wip/src/koans/02_ticket_store/06_result.rs:151
Methodcreated_at
(&self)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:96
Functioncreating_an_empty_title_should_fail
()
jira-cli/src/models/title.rs:64
Functioncreating_empty_comment_should_fail
()
jira-cli/src/models/comment.rs:64
Functiondata_store_filename
Determine the right location to store data based on the user OS. It relies on the `directories` crate - see https://crates.io/crates/directories for m
jira-wip/src/main.rs:63
Functiondelete_ticket_test
()
jira-cli/src/store.rs:114
Functiondelete_works
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:254
Methoddeleted_at
(&self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:155
next →1–100 of 229, ranked by callers