MCPcopy
hub / github.com/syncthing/syncthing / shouldCleanupSyso

Function shouldCleanupSyso

build.go:744–751  ·  view source on GitHub ↗
(sysoFilePath string)

Source from the content-addressed store, hash-verified

742}
743
744func shouldCleanupSyso(sysoFilePath string) {
745 if sysoFilePath == "" {
746 return
747 }
748 if err := os.Remove(sysoFilePath); err != nil {
749 log.Printf("Warning: unable to remove generated %s: %v. Please remove it manually.", sysoFilePath, err)
750 }
751}
752
753// copyFile copies a file from src to dst, ensuring the containing directory
754// exists. The permission bits are copied as well. If dst already exists and

Callers 2

installFunction · 0.85
buildFunction · 0.85

Calls 1

RemoveMethod · 0.65

Tested by

no test coverage detected