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 ¶
- type ReadCloser
- func (rc *ReadCloser) Close() error
- func (rc *ReadCloser) GetDirEntries(_ string, _ int) ([]fs.DirEntry, error)
- func (rc *ReadCloser) Name() string
- func (rc *ReadCloser) OpenReader(path string) (fs.FS, error)
- func (rc *ReadCloser) OpenReaderWithPassword(path, _ string) (fs.FS, error)
- func (rc *ReadCloser) Reset()
- func (rc *ReadCloser) SetCharset(charset []encoding.Encoding, skipErr bool)
- func (rc *ReadCloser) SetRootInfo(_ os.FileInfo)
- type WriteCloser
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 (*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{})
Click to show internal directories.
Click to hide internal directories.