Propagate context to OS calls that can leverage its cancellation / timeout

This commit is contained in:
riccardom
2026-06-22 18:16:37 +02:00
parent c660306cfb
commit ea08b3d2dc
7 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func GetInfo(ctx context.Context) *Info {
}
// checkFileAndProcess checks if the file path exists and if a process is running at that path.
func checkFileAndProcess(paths []string) ([]File, error) {
func checkFileAndProcess(_ context.Context, _ []string) ([]File, error) {
return []File{}, nil
}