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

Some updates #15

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

Some updates #15

wants to merge 16 commits into from

Commits on Mar 15, 2022

  1. renamed file

    renamed file properly to disk_partitions
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    7964953 View commit details
    Browse the repository at this point in the history
  2. Create DiskPartition.md

    added documentation for the DiskPartition type
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    100e8c8 View commit details
    Browse the repository at this point in the history
  3. Update disk_partitions.md

    added a link to the newly created DiskParition documentation
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    1794d04 View commit details
    Browse the repository at this point in the history
  4. Create DiskPartition.md

    added DiskPartition type documentation
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    1c7d4da View commit details
    Browse the repository at this point in the history
  5. Update psutil_linux.nim

    existsFile is deprecated, and now using fileExists instead
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    bdf17f6 View commit details
    Browse the repository at this point in the history
  6. Update psutil_linux.nim

    replaced ..colon with 0..colon, because ..b is deprecated to 0..b.
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    baaab86 View commit details
    Browse the repository at this point in the history
  7. Update psutil_linux.nim

    replaced ..10 with 0..10, because ..b is deprecated to 0..b.
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    c6382f0 View commit details
    Browse the repository at this point in the history
  8. Update psutil_posix.nim

    cuchar is deprecated, thus replaced with char
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    8c366df View commit details
    Browse the repository at this point in the history
  9. Update psutil_posix.nim

    implicit conversion from string to cstring, thus added the cast to avoid CStringConv compile errors in the future
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    bebefff View commit details
    Browse the repository at this point in the history
  10. Update psutil_posix.nim

    type pragmas follow the type name; this form of writing pragmas is deprecated
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    bca06e1 View commit details
    Browse the repository at this point in the history
  11. Update common.nim

    See corresponding Defect; DivByZeroError is deprecated, thus use DivByZeroDefect instead
    Techno-Fox committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    aebe70f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. added pid_kill

    added the pid_kill function, which will send a SIGKILL to the specified PID.
    Techno-Fox committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    b821800 View commit details
    Browse the repository at this point in the history
  2. added pid_kill proc

    added pid_kill procedure for killing the specified pid. This opens the process and then terminates it. Raises an OSError for an error
    Techno-Fox committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    a6ba4b7 View commit details
    Browse the repository at this point in the history
  3. added casts to arguments in functions

    Do to casting errors, i've added casts to where I was getting them.
    Techno-Fox committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    2a2707b View commit details
    Browse the repository at this point in the history
  4. added handle checks

    i've added some checks for OpenProcess return variable.
    Techno-Fox committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    892b019 View commit details
    Browse the repository at this point in the history
  5. added pid_kill proc

    added the pid_kill proc to the psutil.nim file, also exporting the platform so user can access all the function without needing to do "psutil/platform_linux" or "psutil/platform_windows"
    Techno-Fox committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    a793440 View commit details
    Browse the repository at this point in the history