pkg.re/essentialkaos/ek.10@v12.41.0+incompatible/pid/pid_windows.go (about)

     1  // Package pid provides methods for working with PID files
     2  package pid
     3  
     4  // ////////////////////////////////////////////////////////////////////////////////// //
     5  //                                                                                    //
     6  //                         Copyright (c) 2022 ESSENTIAL KAOS                          //
     7  //      Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>     //
     8  //                                                                                    //
     9  // ////////////////////////////////////////////////////////////////////////////////// //
    10  
    11  // ❗ IsWorks returns true if process with PID from PID file is works
    12  func IsWorks(name string) bool {
    13  	panic("UNSUPPORTED")
    14  	return false
    15  }
    16  
    17  // ❗ IsProcessWorks returns true if process with given PID is works
    18  func IsProcessWorks(pid int) bool {
    19  	panic("UNSUPPORTED")
    20  	return false
    21  }