ProfilePath returns the seccomp path for the instance.
(c Instance)
| 629 | |
| 630 | // ProfilePath returns the seccomp path for the instance. |
| 631 | func ProfilePath(c Instance) string { |
| 632 | return filepath.Join(seccompPath, project.Instance(c.Project().Name, c.Name())) |
| 633 | } |
| 634 | |
| 635 | // InstanceNeedsPolicy returns whether the instance needs a policy or not. |
| 636 | func InstanceNeedsPolicy(c Instance) bool { |
no test coverage detected
searching dependent graphs…