24 lines
677 B
Go
24 lines
677 B
Go
package starcrypto
|
|
|
|
import "b612.me/starcrypto/filex"
|
|
|
|
func Attach(src, dst, output string) error {
|
|
return filex.Attach(src, dst, output)
|
|
}
|
|
|
|
func Detach(src string, bytenum int, dst1, dst2 string) error {
|
|
return filex.Detach(src, bytenum, dst1, dst2)
|
|
}
|
|
|
|
func SplitFile(src, dst string, num int, bynum bool, shell func(float64)) error {
|
|
return filex.SplitFile(src, dst, num, bynum, shell)
|
|
}
|
|
|
|
func MergeFile(src, dst string, shell func(float64)) error {
|
|
return filex.MergeFile(src, dst, shell)
|
|
}
|
|
|
|
func FillWithRandom(filepath string, filesize int, bufcap int, bufnum int, shell func(float64)) error {
|
|
return filex.FillWithRandom(filepath, filesize, bufcap, bufnum, shell)
|
|
}
|