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

Misc tidy up #77

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Misc tidy up #77

wants to merge 4 commits into from

Commits on Jan 4, 2021

  1. Misc tidy up and add /usr/lib/os-release as fallback file.

    This includes:
    - using the `std::fs::read_to_string` function,
    - using the `lines` method on a `BufReader`,
    - iterators directly rather than collecting everything in to a vec,
    - adding a couple of `debug_assert`s,
    - a little bit of general formatting (mixed tabs -> all spaces, correct
      indentation levels etc).
    
    `man os-release` specifies that `/usr/lib/os-release` should be used if
    `/etc/os-release` can't.
    JOT85 committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    90479e8 View commit details
    Browse the repository at this point in the history
  2. Clippy lints

    JOT85 committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    85e2338 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Configuration menu
    Copy the full SHA
    1351023 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    b1e95fa View commit details
    Browse the repository at this point in the history