Helper function to copy files
(src, dst string)
| 451 | |
| 452 | // Helper function to copy files |
| 453 | func copyFile(src, dst string) error { |
| 454 | data, err := os.ReadFile(src) |
| 455 | if err != nil { |
| 456 | return err |
| 457 | } |
| 458 | return os.WriteFile(dst, data, 0755) |
| 459 | } |
| 460 | |
| 461 | func (m *MemoryCalculator) classCountDisplay() string { |
| 462 | if m.classCountUserSet { |