Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Upstream the clr-boot-manager features #12

@ikeydoherty

Description

@ikeydoherty

clr-boot-manager has a whole bunch of really nice APIs, which should be in libnica itself

Notably:

  • CbmWriter - a failsafe memstream based stream writer ✓
  • CbmMappedFile - a very simple mechanism for working with mapped files (with autofrees) ✓
  • File manipulation functions (atomic copies, etc) ✓
  • A trivial log mechanism (expand this to be libraryfied) ✓
  • Better string functions (string_printf) ✓

Perhaps:

  • Filesystem APIs which allow overriding the process-space vtable for all file ops? Enables easy, safe mocking (would be nice)
  • Port the cmdline reader into a generic config reader? Especially with the *.d/*.conf support (very low priority, ideally just nice "read this thing" APIs) (meh. maybe)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions