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

Function is_part_hfsp

src/adv.c:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static int is_part_hfsp(const partition_t *partition)
93{
94 if( partition->part_type_i386 == P_HFSP ||
95 partition->part_type_mac == PMAC_HFS )
96 return 1;
97 if(guid_cmp(partition->part_type_gpt,GPT_ENT_TYPE_MAC_HFS)==0)
98 return 1;
99 return 0;
100}
101
102int is_part_linux(const partition_t *partition)
103{

Callers 3

is_hfspFunction · 0.85
adv_get_boot_descriptionFunction · 0.85

Calls 1

guid_cmpFunction · 0.85

Tested by

no test coverage detected