Which kubo package and which func to Really delete file for command "ipfs repo gc"?

hi,guys, please help me!
i want to know, which kubo package and which func to Really delete file ,when type command “ipfs repo gc”, i debug and use fmt Println, but not found.

ipfs repo gc
removed bafkreiggkqlzqnvjth6a5ahg5cr3er6xzldt54vony5j6axl4a6rvuohde
removed bafkreiekbvis4osxj3fe2pcvo5yjxbwlhsijxysfuvif3z7awpdyb54ybm