Documentation ¶
Index ¶
- func DisplayNameToFilename(displayName string) string
- func Explore(ctx context.Context, path string) error
- func FilenameToDisplayName(filename string) string
- func GetModTime(path string) (time.Time, error)
- func StartHeartbeat(ctx context.Context, interval time.Duration, heartbeatFunc HeartbeatFuncType)
- func StringToUUID(seed string) (uuid.UUID, error)
- func TouchFile(filename string) error
- type HeartbeatFuncType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayNameToFilename ¶
DisplayNameToFilename converts a display name into a filename
func FilenameToDisplayName ¶
FilenameToDisplayName converts a filename into a more human readable display name
func StartHeartbeat ¶
func StartHeartbeat(ctx context.Context, interval time.Duration, heartbeatFunc HeartbeatFuncType)
startHeartbeat starts a heartbeat goroutine that will execute the provided heartbeat function at each interval
Types ¶
type HeartbeatFuncType ¶
type HeartbeatFuncType func()
Click to show internal directories.
Click to hide internal directories.