i18nkit
Modules
applier
backup
backup
backup/cleanup
backup/constants
backup/file-ops
backup/gitignore
backup/manifest
backup/restore
backup/session
command-interface
commands
commands/apply
commands/backup
commands/check-sync
commands/extract
commands/extract-utils
commands/find-orphans
commands/help
commands/translate
commands/version
commands/watch
config
detector
file-walker
fs-adapter
help-generator
i18nkit/core
json-utils
key-generator
log-utils
orphan-finder
parser-utils
paths
plugin-interface
plugin-resolver
plugin-resolver-utils
sync-checker
sync-checker-utils
translator
watcher
Classes
Session
PluginResolver
Global
Context
ParsedFlags
buildPluginConfig
parseCiMode
On this page

Backup session lifecycle management.

Source
  • core/backup/session.js, line 3

Classes

Session

Methods

(inner) generateSessionId(command) → {string}

Generates unique session ID: YYYY-MM-DD_HH-MM-SS_command_rand

Parameters:
NameTypeDescription
commandstring
Source
  • core/backup/session.js, line 32
Returns:
Type: 
string

(inner) parseSessionId(sessionId) → {Object|null}

Parameters:
NameTypeDescription
sessionIdstring
Source
  • core/backup/session.js, line 45
Returns:
Type: 
Object | null
Type anything to view search result
i18nkit
Modules
applier
backup
backup
backup/cleanup
backup/constants
backup/file-ops
backup/gitignore
backup/manifest
backup/restore
backup/session
command-interface
commands
commands/apply
commands/backup
commands/check-sync
commands/extract
commands/extract-utils
commands/find-orphans
commands/help
commands/translate
commands/version
commands/watch
config
detector
file-walker
fs-adapter
help-generator
i18nkit/core
json-utils
key-generator
log-utils
orphan-finder
parser-utils
paths
plugin-interface
plugin-resolver
plugin-resolver-utils
sync-checker
sync-checker-utils
translator
watcher
Classes
Session
PluginResolver
Global
Context
ParsedFlags
buildPluginConfig
parseCiMode