How to use the stringify function from uuid
Find comprehensive JavaScript uuid.stringify code examples handpicked from public code repositorys.
GitHub: vatesfr/xen-orchestra
222 223 224 225 226 227 228 229 230 231
// // Due to a bug introduced in a1bcd35e2 const duplicate = vhdById.get(UUID.stringify(vhd.footer.uuid)) let vhdKept = vhd if (duplicate !== undefined) { logWarn('uuid is duplicated', { uuid: UUID.stringify(vhd.footer.uuid) }) if (duplicate.containsAllDataOf(vhd)) { logWarn(`should delete ${path}`) vhdKept = duplicate vhds.delete(path)
202
560
40