mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-05-25 16:00:35 +00:00
14 lines
240 B
Go
14 lines
240 B
Go
package media
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
const TempDirName = "picoclaw_media"
|
|
|
|
// TempDir returns the shared temporary directory used for downloaded media.
|
|
func TempDir() string {
|
|
return filepath.Join(os.TempDir(), TempDirName)
|
|
}
|