Expand description
§Pace Core
Re-exports§
Modules§
Structs§
- The activity entity
- The unique identifier of an activity
- The activity log entity
- The activity store entity
- Detailed summary of activities, potentially within a specific category or type.
- The auto-archival configuration for the pace application
begin
subcommand- The database configuration for the pace application
- Options for deleting an activity
- Opens the documentation.
end
subcommand- Options for ending an activity
- The export configuration for the pace application
- The general configuration for the pace application
- Highlights from the review period, providing quick insights into key metrics.
hold
subcommand>- Options for holding an activity
- In-memory storage for activities
- The inbox configuration for the pace application
now
subcommand- The pace configuration file
- Wrapper for a date of an activity
- Wrapper for the start and end time of an activity to implement default
- The duration of an activity
- Errors that can result from pace.
- Wrapper for a time of an activity
- The pomodoro configuration for the pace application
resume
subcommand- Options for resuming an activity
- The review configuration for the pace application
- Represents a summary of activities and insights for a specified review period.
- In-memory backed TOML activity storage
- Options for updating an activity
Enums§
- The kind of activity a user can track
- Filter for activities
- Filtered activities
PaceErrorKind
describes the errors that can happen while executing a high-level command.
Traits§
- Querying Activities
- Basic Read Operations for Activities in the storage backend.
- Managing Activity State
- The trait that all storage backends must implement. This allows us to swap out the storage backend without changing the rest of the application.
- Basic CUD Operations for Activities in the storage backend.
- A type of storage that can be synced to a persistent medium.
Functions§
- Calculate the duration of the activity
- Converts timespec to nice readable relative time string
- Extracts time from the given string or returns the current time
- Find a config file in the current directory and upwards in the directory hierarchy and return the path
- Get the current directory and then search upwards in the directory hierarchy for a file name
- Get the paths to the activity log file
- Get the paths to the config file
- Get the path to the home activity log directory.
- Get the path to the home config directory.
- Get the storage backend from the configuration.
- Convert the time and date flags into a
PaceTimeFrame
- Overwrite any value with another.
- Parses time from user input
Type Aliases§
- Result type that is being returned from methods that have optional return values and can fail thus having
PaceError
s. - Result type that is being returned from methods that can fail and thus have
PaceError
s. - Result type that is being returned from test functions and methods that can fail and thus have errors.