code: public void unzip(final FilePath target) throws IOException, InterruptedException {
          // TODO: post release, re-unite two branches by introducing FileStreamCallable that resolves InputStream
          if (this.channel!=target.channel) {// local -> remote or remote->local
              final RemoteInputStream in = new RemoteInputStream(read(), Flag.GREEDY);
              target.act(new UnzipRemote(in));
          } else {// local -> local or remote->remote
              target.act(new UnzipLocal());
          }
      }
docs: When this {@link FilePath} represents a zip file, extracts that zip file.
  
  @param target
  Target directory to expand files to. All the necessary directories will be created.
  @since 1.248
  @see #unzipFrom(InputStream)