fileclean

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

go:build linux

  • @Author: liziwei01
  • @Date: 2023-10-31 21:47:46
  • @LastEditors: liziwei01
  • @LastEditTime: 2023-11-01 11:33:11
  • @Description: 文件清理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFiles

func FindFiles(prefixName string, keep int) ([]string, error)

FindFiles 查找要清理的文件 按照文件创建时间排序,先创建的先返回 查找的文件名匹配的内容只能包含一个".",而且只能是 《.数字》 结尾 keep 参数控制剩余文件数

Types

This section is empty.

Jump to

Keyboard shortcuts

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