nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
9.95k stars 1.28k forks source link

OSAL Refactor: Os::FileSystem and Os::Directory #2687

Open LeStarch opened 2 months ago

LeStarch commented 2 months ago
F´ Version
Affected Component

Feature Description

Refactor the above OSAL pieces. Some quick thoughts:

  1. Directory should be merged into FileSystem
  2. For namespace-bucked functions, do the following:
    1. Delegate structure as normal
    2. static methods of class can delegate to singleton implementation.
LeStarch commented 2 months ago

Note: should Os::task follow the new pattern?