zip

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package zip

  • Version: 1.0.0
  • Copyright (c) 2022. Pashifika *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License.

Package zip

  • Version: 1.0.0
  • Copyright (c) 2022. Pashifika *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

type ReadCloser struct {
	// contains filtered or unexported fields
}

func (*ReadCloser) Close

func (rc *ReadCloser) Close() error

func (*ReadCloser) GetDirEntries

func (rc *ReadCloser) GetDirEntries(_ string, _ int) ([]fs.DirEntry, error)

func (*ReadCloser) Name

func (rc *ReadCloser) Name() string

func (*ReadCloser) OpenReader

func (rc *ReadCloser) OpenReader(path string) (fs.FS, error)

func (*ReadCloser) OpenReaderWithPassword

func (rc *ReadCloser) OpenReaderWithPassword(path, _ string) (fs.FS, error)

func (*ReadCloser) Reset

func (rc *ReadCloser) Reset()

func (*ReadCloser) SetCharset

func (rc *ReadCloser) SetCharset(charset []encoding.Encoding, skipErr bool)

func (*ReadCloser) SetRootInfo

func (rc *ReadCloser) SetRootInfo(_ os.FileInfo)

type WriteCloser

type WriteCloser struct {
	// contains filtered or unexported fields
}

func (*WriteCloser) Close

func (wc *WriteCloser) Close() error

func (*WriteCloser) Create

func (wc *WriteCloser) Create(w io.Writer, entries []compress.ArchiverFile) error

func (*WriteCloser) Name

func (wc *WriteCloser) Name() string

func (*WriteCloser) Reset

func (wc *WriteCloser) Reset()

func (*WriteCloser) SetCompressedExt

func (wc *WriteCloser) SetCompressedExt(ext map[string]struct{})

Jump to

Keyboard shortcuts

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