Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_local_path_buf
Function
test_local_path_buf
atomic-core/src/change/local.rs:283–287 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
281
282
#[test]
283
fn test_local_path_buf() {
284
let local = Local::new(
"src/main.rs"
, 1);
285
let path_buf = local.path_buf();
286
assert_eq!(path_buf, PathBuf::from(
"src/main.rs"
));
287
}
288
289
#[test]
290
fn test_local_file_name() {
Callers
nothing calls this directly
Calls
1
path_buf
Method · 0.80
Tested by
no test coverage detected