Skip to content

Commit d9e317b

Browse files
committed
progress
1 parent 7ca134a commit d9e317b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

crates/pgt_fs/src/fs/memory.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ impl FileSystem for MemoryFileSystem {
175175
entry.lock_arc()
176176
};
177177

178+
// REMOVE
179+
tracing::info!("inner");
180+
178181
if options.truncate {
179182
// Clear the buffer if the file was open with `truncate`
180183
inner.clear();

crates/pgt_workspace/src/configuration.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ impl LoadedConfiguration {
3535
value: Option<ConfigurationPayload>,
3636
fs: &DynRef<'_, dyn FileSystem>,
3737
) -> Result<Self, WorkspaceError> {
38+
// REMOVE
39+
tracing::info!("try from payload");
3840
let Some(value) = value else {
3941
return Ok(LoadedConfiguration::default());
4042
};
@@ -150,6 +152,8 @@ fn load_config(
150152
should_error,
151153
)? {
152154
let AutoSearchResult { content, file_path } = auto_search_result;
155+
// REMOVE
156+
tracing::info!("Found configuration file: {}", file_path.display());
153157

154158
let deserialized =
155159
serde_json::from_str::<PartialConfiguration>(&strip_jsonc_comments(&content))
@@ -380,6 +384,12 @@ impl PartialConfigurationExt for PartialConfiguration {
380384
.into_path_buf()
381385
};
382386

387+
// REMOVE
388+
tracing::info!(
389+
"Resolving extend configuration file: {}",
390+
extend_configuration_file_path.display()
391+
);
392+
383393
let mut file = fs
384394
.open_with_options(
385395
extend_configuration_file_path.as_path(),

0 commit comments

Comments
 (0)