mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-06 19:35:13 +02:00
- Rename index.rs to database.rs for clarity in purpose
- Update references in `scan.rs` to the renamed module - Add `cargo clippy` step to CI for linting
This commit is contained in:
parent
33c819bd3a
commit
aef0aea973
4 changed files with 4 additions and 2 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
|
@ -18,5 +18,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run linter
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use crate::utils::project::get_project_info;
|
|||
use std::path::Path;
|
||||
use crate::utils::config::Config;
|
||||
use tree_sitter::{Parser};
|
||||
use crate::index::index::Indexer;
|
||||
use crate::database::index::Indexer;
|
||||
use crate::walk::spawn_senders;
|
||||
|
||||
pub fn handle(
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ mod cli;
|
|||
mod commands;
|
||||
mod utils;
|
||||
mod walk;
|
||||
mod index;
|
||||
mod database;
|
||||
|
||||
use crate::utils::Config;
|
||||
use cli::Cli;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue