Exemplo n.º 1
0
func RemoveDir(dir string) {
	err := common.RemoveDir(dir)
	if err != nil {
		logger.ApiLog.Warning("Failed to remove directory %s. Remove it manually. %s", dir, err.Error())
	}
}
Exemplo n.º 2
0
func removeTempDir(path string) {
	err := common.RemoveDir(path)
	if err != nil {
		logger.ApiLog.Warning("Failed to remove directory %s. Remove it manually. %s", path, err.Error())
	}
}