(vmmID string)
| 53 | } |
| 54 | |
| 55 | func getSocketPath(vmmID string) string { |
| 56 | filename := strings.Join([]string{ |
| 57 | ".firecracker.sock", |
| 58 | strconv.Itoa(os.Getpid()), |
| 59 | vmmID, |
| 60 | }, |
| 61 | "-", |
| 62 | ) |
| 63 | dir := os.TempDir() |
| 64 | |
| 65 | return filepath.Join(dir, filename) |
| 66 | } |
no outgoing calls
no test coverage detected