core_types.rs: Dir