MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / is_part_ntfs

Function is_part_ntfs

src/ntfs.c:390–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390int is_part_ntfs(const partition_t *partition)
391{
392#if !defined(SINGLE_PARTITION_TYPE) || defined(SINGLE_PARTITION_I386)
393 if(partition->arch==&arch_i386)
394 {
395 switch(partition->part_type_i386)
396 {
397 case P_NTFS:
398 case P_NTFSH:
399 return 1;
400 default:
401 break;
402 }
403 }
404#endif
405 return 0;
406}
407
408int is_ntfs(const partition_t *partition)
409{

Callers 6

is_ntfsFunction · 0.85
is_exfatFunction · 0.85
adv_menu_boot_selectedFunction · 0.85
dir_partition_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected