oku_fs::fs

Function merge_tickets

Source
pub fn merge_tickets(tickets: Vec<DocTicket>) -> Option<DocTicket>
Expand description

Merge multiple tickets into one, returning None if no tickets were given.

§Arguments

  • tickets - A vector of tickets to merge.

§Returns

None if no tickets were given, or a ticket with a merged capability and merged list of nodes.