chore(autoconfigure/docs): clarify why we append / to a device root

This commit is contained in:
alex committed 2025-10-27 23:15:14 -04:00
1 parent 3058abab23
commit fe593efa8c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ pub fn scan(
.to_string(DisplayOnly(false), AllowShortcuts(false))
.context("unable to convert device root to string")?
.to_string();
// Add a trailing slash to the root to ensure the path is valid.
// Add a trailing forward-slash to the root to ensure the device root is completed.
root.push('/');
// Generate a unique hash of the root path.
+1 -1
View File
@@ -135,7 +135,7 @@ pub fn scan(
.to_string(DisplayOnly(false), AllowShortcuts(false))
.context("unable to convert device root to string")?
.to_string();
// Add a trailing slash to the root to ensure the path is valid.
// Add a trailing forward-slash to the root to ensure the device root is completed.
root.push('/');
// Generate a unique hash of the root path.
+1 -1
View File
@@ -39,7 +39,7 @@ pub fn scan(
.to_string(DisplayOnly(false), AllowShortcuts(false))
.context("unable to convert device root to string")?
.to_string();
// Add a trailing slash to the root to ensure the path is valid.
// Add a trailing forward-slash to the root to ensure the device root is completed.
root.push('/');
// Generate a unique hash of the root path.