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

Function test_record_item_directory

atomic-core/src/record/context.rs:1148–1158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1146
1147 #[test]
1148 fn test_record_item_directory() {
1149 let item = RecordItem::new(
1150 "src/",
1151 Inode::new(5),
1152 Inode::ROOT,
1153 crate::output::FileMetadata::directory(),
1154 );
1155
1156 assert!(item.is_directory);
1157 assert_eq!(item.basename, "src");
1158 }
1159
1160 #[test]
1161 fn test_record_item_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected