zipexe

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 7 Imported by: 191

README

go.zipexe

This module was taken as-is from https://github.com/cookieo9/resources-go. Documentation: https://godoc.org/github.com/daaku/go.zipexe

Documentation

Overview

Package zipexe attempts to open an executable binary file as a zip file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(rda io.ReaderAt, size int64) (*zip.Reader, error)

Open a zip file, specially handling various binaries that may have been augmented with zip data.

func Open

func Open(path string) (*zip.Reader, error)

Opens a zip file by path.

func OpenCloser

func OpenCloser(path string) (io.Closer, *zip.Reader, error)

OpenCloser is like Open but returns an additional Closer to avoid leaking open files.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL