Skip to content

Commit db81985

Browse files
committed
Update Line editor promot name
1 parent 4da2d50 commit db81985

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/line_editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl Highlighter for MatchingBracketsHighlighter {
244244
}
245245

246246
pub fn create_new_line_editor() -> LineEditor {
247-
let prompt = StringPrompt::new("llql > ".to_string());
247+
let prompt = StringPrompt::new("PyQL > ".to_string());
248248
let mut line_editor = LineEditor::new(Box::new(prompt));
249249

250250
let mut style = Style::default();

src/python/schema.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ use gitql_ast::types::text::TextType;
66

77
use super::types::PyFunctionType;
88

9-
pub fn pyql_tables_fields_names() -> HashMap<&'static str, Vec<&'static str>> {
10-
let mut map = HashMap::new();
11-
map.insert(
12-
"functions",
13-
vec!["function_name", "arguments_count", "function", "file_name"],
14-
);
15-
map
16-
}
17-
189
pub fn pyql_tables_fields_types() -> HashMap<&'static str, Box<dyn DataType>> {
1910
let mut map: HashMap<&str, Box<dyn DataType>> = HashMap::new();
2011

@@ -26,3 +17,12 @@ pub fn pyql_tables_fields_types() -> HashMap<&'static str, Box<dyn DataType>> {
2617

2718
map
2819
}
20+
21+
pub fn pyql_tables_fields_names() -> HashMap<&'static str, Vec<&'static str>> {
22+
let mut map = HashMap::new();
23+
map.insert(
24+
"functions",
25+
vec!["function_name", "arguments_count", "function", "file_name"],
26+
);
27+
map
28+
}

0 commit comments

Comments
 (0)