starcrypto/file.go

24 lines
677 B
Go
Raw Normal View History

2024-03-10 13:04:26 +08:00
package starcrypto
import "b612.me/starcrypto/filex"
2024-03-10 13:04:26 +08:00
func Attach(src, dst, output string) error {
return filex.Attach(src, dst, output)
2024-03-10 13:04:26 +08:00
}
func Detach(src string, bytenum int, dst1, dst2 string) error {
return filex.Detach(src, bytenum, dst1, dst2)
2024-03-10 13:04:26 +08:00
}
func SplitFile(src, dst string, num int, bynum bool, shell func(float64)) error {
return filex.SplitFile(src, dst, num, bynum, shell)
2024-03-10 13:04:26 +08:00
}
func MergeFile(src, dst string, shell func(float64)) error {
return filex.MergeFile(src, dst, shell)
2024-03-10 13:04:26 +08:00
}
func FillWithRandom(filepath string, filesize int, bufcap int, bufnum int, shell func(float64)) error {
return filex.FillWithRandom(filepath, filesize, bufcap, bufnum, shell)
2024-03-10 13:04:26 +08:00
}