safepine_os.runtime.user_runtime

Copyright (C) 2026 Safepine LLC

This file is part of Safepine OS.

Safepine OS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Safepine OS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Safepine OS. If not, see <https://www.gnu.org/licenses/>.

Members

Functions

activeContext
UserContext activeContext(UserRuntime runtime)
createContext
string createContext(UserRuntime runtime, string displayName, string userName)
deleteContext
void deleteContext(UserRuntime runtime, string contextId)
generateContextId
string generateContextId(string key)
listContexts
ContextSummary[] listContexts(UserRuntime runtime)
loadContextsFromDisk
void loadContextsFromDisk(UserRuntime runtime, string userName)
renameContext
void renameContext(UserRuntime runtime, string contextId, string newName)
switchContext
void switchContext(UserRuntime runtime, string contextId)

Structs

ContextMeta
struct ContextMeta
ContextSummary
struct ContextSummary
UserRuntime
struct UserRuntime