-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder names #318
Folder names #318
Conversation
pub fn sync_available_profiles_task(profile_path_id: ProfilePathId) { | ||
tokio::task::spawn(async move { | ||
let span = tracing::span!( | ||
tracing::Level::INFO, | ||
"sync_available_profiles_task" | ||
); | ||
let res = async { | ||
let _span = span.enter(); | ||
let state = State::get().await?; | ||
let dirs = &state.directories; | ||
let mut profiles = state.profiles.write().await; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current debouncer watches inside profile folders and can update projects when the internal structure of the profile changes
I added the debouncer to watch the instances folder ( the profiles themselves) and this is triggered when that updates (eg: we are adding a whole new profile)
Fixes MOD-457
Fixes MOD-500