always render issue UUIDs as 128 bit hex numbers
This commit is contained in:
parent
343e43a762
commit
172055c480
2 changed files with 3 additions and 3 deletions
|
|
@ -107,7 +107,7 @@ impl Issue {
|
|||
pub fn new(dir: &std::path::Path) -> Result<Self, IssueError> {
|
||||
let mut issue_dir = std::path::PathBuf::from(dir);
|
||||
let rnd: u128 = rand::random();
|
||||
issue_dir.push(&format!("{:0x}", rnd));
|
||||
issue_dir.push(&format!("{:032x}", rnd));
|
||||
std::fs::create_dir(&issue_dir)?;
|
||||
Ok(Self {
|
||||
description: String::from(""), // FIXME: kind of bogus to use the empty string as None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue