QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
util.h File Reference

Util: static helpers for the process environment, binary discovery, store paths, URL safety and the link-safe file operations every write into a store goes through. More...

#include "appsettings.h"
#include <QProcessEnvironment>
#include <QRegularExpression>
#include <QString>
#include <QStringList>
#include <functional>
#include <optional>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Util
 Static helpers that have no better home: setting up the process and the Git environment the way pass does, finding binaries and the default store, path and URL handling, and file operations that refuse to follow links. More...

Variables

constexpr int MS_PER_SECOND = 1000
 Milliseconds in a second, for timers set from a setting in seconds.

Detailed Description

Util: static helpers for the process environment, binary discovery, store paths, URL safety and the link-safe file operations every write into a store goes through.

Definition in file util.h.

Variable Documentation

◆ MS_PER_SECOND

int MS_PER_SECOND = 1000
constexpr

Milliseconds in a second, for timers set from a setting in seconds.

Definition at line 25 of file util.h.