Documentation
¶
Overview ¶
Copyright © 2021-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2021 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2021-2022 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶
Copy copies the contents of the file at srcpath to a regular file at dstpath. If dstpath already exists and is not a directory, the function truncates it. The function does not copy file modes or file attributes.
Types ¶
type NopCloseWriter ¶ added in v0.7.0
func NewNopCloseWriter ¶ added in v0.7.0
func NewNopCloseWriter(buf *bytes.Buffer) *NopCloseWriter
func (*NopCloseWriter) Close ¶ added in v0.7.0
func (ncw *NopCloseWriter) Close() error
Click to show internal directories.
Click to hide internal directories.