From fc941b24801d89ee1c7e0a56e014add25e1e99f4 Mon Sep 17 00:00:00 2001 From: Andrew Lilley Brinker Date: Wed, 28 Aug 2024 15:57:47 -0700 Subject: [PATCH] chore: Use consistent module folder structure. Over time we'd grown a mix of two styles of defining modules with their own children. Some were done with a `.rs` file at the top of the `src` folder and a `/` folder as well, others used the `/mod.rs` pattern instead. Over time I've come to prefer the `mod.rs` style, and this commit moves the `hipcheck` crate over to it. Mostly this is about consistency, making it easy to find things we need, more than anything else. Signed-off-by: Andrew Lilley Brinker --- hipcheck/src/{analysis.rs => analysis/mod.rs} | 0 hipcheck/src/{cache.rs => cache/mod.rs} | 0 hipcheck/src/{data.rs => data/mod.rs} | 0 hipcheck/src/{metric.rs => metric/mod.rs} | 0 hipcheck/src/{session.rs => session/mod.rs} | 0 hipcheck/src/{shell.rs => shell/mod.rs} | 0 hipcheck/src/{source.rs => source/mod.rs} | 0 hipcheck/src/{target.rs => target/mod.rs} | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename hipcheck/src/{analysis.rs => analysis/mod.rs} (100%) rename hipcheck/src/{cache.rs => cache/mod.rs} (100%) rename hipcheck/src/{data.rs => data/mod.rs} (100%) rename hipcheck/src/{metric.rs => metric/mod.rs} (100%) rename hipcheck/src/{session.rs => session/mod.rs} (100%) rename hipcheck/src/{shell.rs => shell/mod.rs} (100%) rename hipcheck/src/{source.rs => source/mod.rs} (100%) rename hipcheck/src/{target.rs => target/mod.rs} (100%) diff --git a/hipcheck/src/analysis.rs b/hipcheck/src/analysis/mod.rs similarity index 100% rename from hipcheck/src/analysis.rs rename to hipcheck/src/analysis/mod.rs diff --git a/hipcheck/src/cache.rs b/hipcheck/src/cache/mod.rs similarity index 100% rename from hipcheck/src/cache.rs rename to hipcheck/src/cache/mod.rs diff --git a/hipcheck/src/data.rs b/hipcheck/src/data/mod.rs similarity index 100% rename from hipcheck/src/data.rs rename to hipcheck/src/data/mod.rs diff --git a/hipcheck/src/metric.rs b/hipcheck/src/metric/mod.rs similarity index 100% rename from hipcheck/src/metric.rs rename to hipcheck/src/metric/mod.rs diff --git a/hipcheck/src/session.rs b/hipcheck/src/session/mod.rs similarity index 100% rename from hipcheck/src/session.rs rename to hipcheck/src/session/mod.rs diff --git a/hipcheck/src/shell.rs b/hipcheck/src/shell/mod.rs similarity index 100% rename from hipcheck/src/shell.rs rename to hipcheck/src/shell/mod.rs diff --git a/hipcheck/src/source.rs b/hipcheck/src/source/mod.rs similarity index 100% rename from hipcheck/src/source.rs rename to hipcheck/src/source/mod.rs diff --git a/hipcheck/src/target.rs b/hipcheck/src/target/mod.rs similarity index 100% rename from hipcheck/src/target.rs rename to hipcheck/src/target/mod.rs