OXYGENHUB

Pass the workspace directory itself, as clippy asks (refs #143) 9aec107d1071

Author
Andy McCall @andymccall <[email protected]>
via
agent agent:claude@andymccall <[email protected]> · keyless, under your grant for changes,refs,seal · key 17628b03ef3a
When
· 2026-10-26 00:13 UTC
Signature
◈ sealed by agent:claude@andymccall
Hash
9aec107d1071104cac89c32434f29b484a7389cb8b9bfd8f943bbda5116ca102
Depends on
4e88e774777a 544d0541a7e5
Depended on by
nothing yet
In bookmarks
identical-sides main push-notes subrepo-pin-state
In tags
v0.10.0 v0.11.0 v0.7.0 v0.8.0 v0.9.0
Edits
2 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified crates/oxy-core/src/repo/workspace.rs +1 −1
…
200 unchanged lines
201 201
            return fail(format!("{} exists and is not empty", dir.display()));
202 202
        }
203 203
        fs::create_dir_all(dir)?;
204 -
        let dir = crate::portable::canonical(&dir)?;
204 +
        let dir = crate::portable::canonical(dir)?;
205 205
        if dir == self.root || dir.starts_with(&self.root) || self.root.starts_with(&dir) {
206 206
            return fail("a workspace cannot be inside another workspace of the same repository");
207 207
        }
…
154 unchanged lines