/DADK/dadk-config/src/rootfs/ |
H A D | mod.rs | 16 pub metadata: RootFSMeta, 56 [metadata] in test_load_from_valid_file() 69 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_valid_str() 70 assert_eq!(config.metadata.size, 1024 * 1024 * 1024); // Assuming `deserialize_size` converts MB to Bytes in test_load_from_valid_str() 76 [metadata] in test_load_from_valid_str() 84 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_invalid_fs_type() 85 assert_eq!(config.metadata.size, 512 * 1024 * 1024); // Assuming `deserialize_size` converts MB to Bytes in test_load_from_invalid_fs_type() 90 [metadata] 101 [metadata] in test_load_from_valid_str_size_integer() 109 assert_eq!(config.metadata in test_load_from_valid_str_size_bytes_str() 13 pub metadata: RootFSMeta, global() field [all...] |
H A D | mod.rs | 16 pub metadata: RootFSMeta, field 69 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_valid_file() 70 …assert_eq!(config.metadata.size, 1024 * 1024 * 1024); // Assuming `deserialize_size` converts MB t… in test_load_from_valid_file() 84 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_valid_str() 85 …assert_eq!(config.metadata.size, 512 * 1024 * 1024); // Assuming `deserialize_size` converts MB to… in test_load_from_valid_str() 109 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_valid_str_size_integer() 110 … assert_eq!(config.metadata.size, 1048576); // Assuming `deserialize_size` converts MB to Bytes in test_load_from_valid_str_size_integer() 123 assert_eq!(config.metadata.fs_type, FsType::Fat32); in test_load_from_valid_str_size_bytes_str() 124 … assert_eq!(config.metadata.size, 1048576); // Assuming `deserialize_size` converts MB to Bytes in test_load_from_valid_str_size_bytes_str()
|
/DADK/dadk-config/src/ |
H A D | manifest.rs | 14 pub metadata: Metadata, field 136 [metadata] in test_full_load_success() 152 assert_eq!(manifest.metadata.arch, TargetArch::X86_64); in test_load_file_not_found() 154 manifest.metadata.rootfs_config, 158 manifest.metadata.hypervisor_config, in test_load_invalid_toml() 162 manifest.metadata.boot_config, in test_load_invalid_toml() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_toml() 184 [metadata in test_load_invalid_arch_toml() 204 [metadata] in test_load_missing_required_fields() 223 [metadata] in test_load_default_config_path_value() [all...] |
H A D | manifest.rs | 14 pub metadata: Metadata, field 152 assert_eq!(manifest.metadata.arch, TargetArch::X86_64); in test_full_load_success() 154 manifest.metadata.rootfs_config, in test_full_load_success() 158 manifest.metadata.hypervisor_config, in test_full_load_success() 162 manifest.metadata.boot_config, in test_full_load_success() 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_full_load_success() 252 manifest.metadata.rootfs_config, in test_load_default_config_path_value() 256 manifest.metadata.hypervisor_config, in test_load_default_config_path_value() 260 manifest.metadata.boot_config, in test_load_default_config_path_value()
|
H A D | manifest.rs | 14 pub metadata: Metadata, field 136 [metadata] in test_load_file_not_found() 152 assert_eq!(manifest.metadata.arch, TargetArch::X86_64); in test_load_invalid_toml() 154 manifest.metadata.rootfs_config, in test_load_invalid_toml() 158 manifest.metadata.hypervisor_config, in test_load_invalid_toml() 162 manifest.metadata.boot_config, 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_arch_toml() 184 [metadata in test_load_missing_required_fields() 204 [metadata] in test_load_default_config_path_value() 223 [metadata] in test_load_default_config_path_value() [all...] |
H A D | manifest.rs | 14 pub metadata: Metadata, field 136 [metadata] in test_load_file_not_found() 152 assert_eq!(manifest.metadata.arch, TargetArch::X86_64); in test_load_invalid_toml() 154 manifest.metadata.rootfs_config, in test_load_invalid_toml() 158 manifest.metadata.hypervisor_config, in test_load_invalid_toml() 162 manifest.metadata.boot_config, 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); in test_load_invalid_arch_toml() 184 [metadata in test_load_missing_required_fields() 204 [metadata] in test_load_default_config_path_value() 223 [metadata] in test_load_default_config_path_value() [all...] |
H A D | manifest.rs | 14 pub metadata: Metadata, 136 [metadata] 152 assert_eq!(manifest.metadata.arch, TargetArch::X86_64); 154 manifest.metadata.rootfs_config, 158 manifest.metadata.hypervisor_config, 162 manifest.metadata.boot_config, 165 assert_eq!(manifest.metadata.sysroot_dir, PathBuf::from("bin/sysroot")); 184 [metadata 204 [metadata] 223 [metadata] 19 pub metadata: Metadata, global() field [all...] |
/DADK/dadk/src/context/ |
H A D | mod.rs | 53 RootFSConfigFile::load(&self.manifest.metadata.rootfs_config) in rootfs() 62 check_dir_exists(&self.manifest.metadata.sysroot_dir) in sysroot_dir() 71 check_dir_exists(&self.manifest.metadata.cache_root_dir) in cache_root_dir() 78 check_dir_exists(&self.manifest.metadata.user_config_dir) in user_config_dir() 84 self.manifest.metadata.arch in target_arch() 106 self.rootfs().metadata.size in disk_image_size()
|
/DADK/dadk-config/src/boot/ |
H A D | mod.rs | 7 use metadata::BootMetadata; 14 pub mod metadata; module 21 pub metadata: BootMetadata, field
|
/DADK/dadk-config/templates/config/ |
H A D | rootfs.toml | 1 [metadata]
|
H A D | rootfs.toml | 1 [metadata]
|
H A D | boot.toml | 1 [metadata]
|
/DADK/dadk-config/templates/ |
H A D | dadk-manifest.toml | 4 [metadata]
|
H A D | dadk-manifest.toml | 4 [metadata]
|
H A D | dadk-manifest.toml | 4 [metadata]
|
H A D | dadk-manifest.toml | 4 [metadata]
|
/DADK/tests/data/config/ |
H A D | rootfs.toml | 1 [metadata]
|
/DADK/dadk-user/src/executor/ |
H A D | mod.rs | 724 let metadata = current_path 725 .metadata() 728 if metadata.is_dir() { 737 let entry_metadata = entry.metadata().unwrap(); 755 let file_modified = DateTime::<Utc>::from(metadata.modified().unwrap()); 661 let metadata = path last_modified_time() localVariable 674 let metadata = entry.metadata().unwrap(); last_modified_time() localVariable
|
H A D | target.rs |
|
H A D | mod.rs | 724 let metadata = current_path in last_modified_time() 725 .metadata() in last_modified_time() 728 if metadata.is_dir() { in last_modified_time() 737 let entry_metadata = entry.metadata().unwrap(); 755 let file_modified = DateTime::<Utc>::from(metadata.modified().unwrap()); 682 let metadata = current_path last_modified_time() localVariable
|
H A D | mod.rs | 724 let metadata = current_path in last_modified_time() 725 .metadata() in last_modified_time() 728 if metadata.is_dir() { 737 let entry_metadata = entry.metadata().unwrap(); 755 let file_modified = DateTime::<Utc>::from(metadata.modified().unwrap()); 679 let metadata = current_path last_modified_time() localVariable
|
H A D | mod.rs | 724 let metadata = current_path in last_modified_time() localVariable 725 .metadata() in last_modified_time() 728 if metadata.is_dir() { in last_modified_time() 737 let entry_metadata = entry.metadata().unwrap(); in last_modified_time() 755 let file_modified = DateTime::<Utc>::from(metadata.modified().unwrap()); in last_modified_time()
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 208 let fs_type = ctx.rootfs().metadata.fs_type; in create_partitioned_image() 216 let fs_type = ctx.rootfs().metadata.fs_type; in create_unpartitioned_image() 376 let metadata = fs::metadata(&disk_image_path)?; in test_create_raw_img_functional() localVariable 377 assert_eq!(metadata.len(), disk_image_size as u64); in test_create_raw_img_functional()
|
/DADK/tests/data/ |
H A D | dadk-manifest.toml | 4 [metadata]
|