github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+incompatible/pkg/archive/path_unix.go (about)

     1  //go:build !windows
     2  
     3  package archive
     4  
     5  // checkSystemDriveAndRemoveDriveLetter is the non-Windows implementation
     6  // of CheckSystemDriveAndRemoveDriveLetter
     7  func checkSystemDriveAndRemoveDriveLetter(path string) (string, error) {
     8  	return path, nil
     9  }