Documentation
¶
Overview ¶
* Copyright 2020 The CCID Authors. * * 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 ¶
- func CreateDir(path string) error
- func CreateFile(file string) (io.Writer, error)
- func Exist(filename string) bool
- func GenerateTaskID(format ...string) string
- func GetCurrentDirectory() string
- func GetParentDirectory(path string) string
- func LogError(err error, msg string)
- func LogList(list map[string]interface{})
- func LogMsg(msg string)
- func LogOne(desc string, u interface{})
- func Unzip(archive, target string) error
- func ZipFolder(source, target string) (string, error)
- type DiskStatus
- type Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTaskID ¶
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
func GetParentDirectory ¶
Types ¶
type DiskStatus ¶
Click to show internal directories.
Click to hide internal directories.