Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 868f3e8d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "aconfig: simplify is_valid_container" into main

parents 0f2e089f 32c6ef5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ pub fn is_valid_package_ident(s: &str) -> bool {
}

pub fn is_valid_container_ident(s: &str) -> bool {
    is_valid_name_ident(s) || s.split('.').all(is_valid_name_ident)
    s.split('.').all(is_valid_name_ident)
}

pub fn create_device_config_ident(package: &str, flag_name: &str) -> Result<String> {