github.com/quay/claircore@v1.5.28/test/integration/lock_windows.go (about)

     1  package integration
     2  
     3  import "testing"
     4  
     5  // BUG(hank) The windows implementation of the file locking is non-fuctional. We
     6  // only build the clair client binaries on windows, so this shouldn't matter.
     7  // If anyone wants to actually run clair on windows, this should be fixed so
     8  // that the tests don't flake.
     9  
    10  func lockDir(_ testing.TB, _ string) (excl bool) { return true }
    11  
    12  func lockDirShared(_ testing.TB, _ string) {}