Documentation
¶
Index ¶
- func EnsureDir(path string) error
- func EnsureDirExists(dirPath string) error
- func GetPathInCaptureDir(subDirName string) string
- func SaveFile(b []byte, dirPath, filename string, t time.Time) error
- func SaveImageFile(rawImage image.Image, dirPath, filenameWithoutExtension string, t time.Time) error
- func SaveJsonFile(data any, dirPath, filename string, t time.Time) error
- func SavePointCloudFile(data pointcloud.PointCloud, dirPath, filename string, t time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
EnsureDir checks if a directory exists and creates it if it doesn't. This function provides additional validation compared to EnsureDirExists.
func EnsureDirExists ¶
EnsureDirExists creates the target directory path if it does not exist using secure default permissions. It is safe to call multiple times.
func GetPathInCaptureDir ¶
func SaveImageFile ¶
func SavePointCloudFile ¶
func SavePointCloudFile(data pointcloud.PointCloud, dirPath, filename string, t time.Time) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.