Utilities
Summary
This describes utilities modules.
In general, the way to think about utilities is to add them to points where they can be most readily re-used.
In order of precedence:
- [[pro.common-all]]
- [[Common Server|pro.]]
- [[Dendron Engine|pro.dendron-engine]]
- [[Dendron Plugin|pro.dendron-plugin]]
- Testing
By Library
Common-All
From Common All
Go to text →
- constants (eg. name of dendron.yml file, etc)
- time utilities
- helpers to work with vaults and notes
- note utilities
Common-Server
From Common Server
Go to text →
- express.js related utilties
- loc:
server
- loc:
- files
- loc:
filesv2
- loc:
- logging
- loc:
logger
- loc:
- os related stats
- loc:
system
- loc:
- exports execa
Dendron CLI
From Dendron CLI
Go to text →
Start anchor utilities not found
Engine
From Dendron Engine
Go to text →
Start anchor utilities not found
Plugin
From Plugin Core
Go to text →
Start anchor utilities not found
Engine Test Utils
From Engine Test Utils
Go to text →
Start anchor utilities not found
Git Utils
-
NOTE: git support is a wrapper around the native
git
installation. we assume a minimal version of2.20
. when adding new functionality, make sure that it is available in git 2.20 -
engine-server:src/topics/git.ts
-
common-server:src/git.ts