MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_deep_path

Function test_deep_path

atomic-core/src/change/graph_op.rs:1223–1233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1221
1222 #[test]
1223 fn test_deep_path() {
1224 let graph_op: GraphOp<Hash> = GraphOp::FileAdd {
1225 add_name: test_new_vertex(),
1226 add_inode: test_new_vertex(),
1227 contents: None,
1228 path: "a/b/c/d/e/f/g/h/file.txt".to_string(),
1229 encoding: None,
1230 };
1231
1232 assert_eq!(graph_op.path(), Some("a/b/c/d/e/f/g/h/file.txt"));
1233 }
1234
1235 #[test]
1236 fn test_binary_file() {

Callers

nothing calls this directly

Calls 1

test_new_vertexFunction · 0.70

Tested by

no test coverage detected