url preview test version

Signed-off-by: Aleksandr Dubovikov <d.lexand@gmail.com>
This commit is contained in:
ad 2024-09-29 17:02:42 +02:00 committed by Aleksandr Dubovikov
parent 6cd1285ca0
commit 5845244aa9
7 changed files with 542 additions and 1 deletions

View file

@ -161,6 +161,10 @@ func moveFile(src types.Path, dst types.Path) error {
return nil
}
func MoveFile(src types.Path, dst types.Path) error {
return moveFile(src, dst)
}
func createTempFileWriter(absBasePath config.Path) (*bufio.Writer, *os.File, types.Path, error) {
tmpDir, err := createTempDir(absBasePath)
if err != nil {