Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #2259 - Boot from archive #2260

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*.cs]
indent_style = space
indent_size = 4
charset = utf-8
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# VisualStudio
.vs/
[Bb]in/
[Oo]bj/

Expand All @@ -21,6 +22,9 @@ packages/
# VisualStudio Code
.vscode/

# Vim
*.swp

# Unity
[Ll]ibrary/
[Tt]emp/
Expand Down
9 changes: 5 additions & 4 deletions doc/source/general/volumes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,11 @@ migration.

As soon as you vessel leaves VAB/SPH and is being initialised on the launchpad
(e.g. its status is PRELAUNCH) the assigned script will be copied to CPU's
local hard disk with the same name. If kOS is configured to start on the
archive, the file will not be copied locally automatically. This script will
be run as soon as CPU boots, e.g. as soon as you bring your CPU in physics
range or power on your CPU if it was turned off. You may get or set the name
local hard disk with the same name. This script will be run as soon as CPU boots,
e.g. as soon as you bring your CPU in physics range or power on your CPU
if it was turned off. If kOS is configured to start on the archive,
the file will not be copied locally automatically and booting will be delayed,
until connection to archive is established. You may get or set the name
of the boot file using the :attr:`kOSProcessor:BOOTFILENAME` suffix.

Important things to consider:
Expand Down
4 changes: 3 additions & 1 deletion src/kOS.Safe/Compilation/PseudoNull.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
using System;
using System;

namespace kOS.Safe.Compilation
{
// Because nulls don't have real Types,
// use this for a fake "type" to reperesent null:
public class PseudoNull : IEquatable<object>
{
public static PseudoNull Instance { get; } = new PseudoNull();

// all instances of PseudoNull should be considered identical:
public override bool Equals(object o)
{
Expand Down
Loading