Skip to content

Commit 6a66657

Browse files
committed
Rename function to get_node_children_by_path for clarity
1 parent 44cea48 commit 6a66657

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kuliya"
33
description = "A library for querying Algerian education dataset."
4-
version = "0.1.2"
4+
version = "0.1.3"
55
edition = "2021"
66
license = "MIT"
77

rust/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn get_node_by_path(path: &str) -> Option<&Node> {{
158158
}}
159159
}}
160160
161-
pub fn get_children_by_path(path: &str) -> Vec<&Node> {{
161+
pub fn get_node_children_by_path(path: &str) -> Vec<&Node> {{
162162
match path {{
163163
{} _ => vec![],
164164
}}

rust/src/static/_auto_generated/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ pub fn get_node_by_path(path: &str) -> Option<&Node> {
18591859
}
18601860
}
18611861

1862-
pub fn get_children_by_path(path: &str) -> Vec<&Node> {
1862+
pub fn get_node_children_by_path(path: &str) -> Vec<&Node> {
18631863
match path {
18641864
"ua2aks" => vec![&UA2AKS_FLE, &UA2AKS_IT, &UA2AKS_IA, &UA2AKS_FSS, &UA2AKS_FSH, &UA2AKS_FALAOL],
18651865
"ua2aks/falaol" => vec![&UA2AKS_FALAOL_DTS, &UA2AKS_FALAOL_DART, &UA2AKS_FALAOL_DTRL, &UA2AKS_FALAOL_DALA],

0 commit comments

Comments
 (0)