From 513fce723c7e37aa353844303f36022517f2db43 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 25 Jul 2025 21:02:26 +0100 Subject: refactor: move `utils` and `list` helpers to lib to enable forthcoming `ngit sync` cmd --- src/bin/git_remote_nostr/fetch.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/bin/git_remote_nostr/fetch.rs') diff --git a/src/bin/git_remote_nostr/fetch.rs b/src/bin/git_remote_nostr/fetch.rs index f3d4362..221d964 100644 --- a/src/bin/git_remote_nostr/fetch.rs +++ b/src/bin/git_remote_nostr/fetch.rs @@ -19,15 +19,15 @@ use ngit::{ git_events::{KIND_PULL_REQUEST, KIND_PULL_REQUEST_UPDATE, tag_value}, login::get_curent_user, repo_ref::{RepoRef, is_grasp_server}, + utils::{ + Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch, + get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and, + set_protocol_preference, + }, }; use nostr::nips::nip19; use nostr_sdk::{Event, ToBech32}; -use crate::utils::{ - Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch, - get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and, set_protocol_preference, -}; - pub async fn run_fetch( git_repo: &Repo, repo_ref: &RepoRef, -- cgit v1.2.3