|
TTY OV
1
A cross platform python terminal
|

Public Member Functions | |
| None | __init__ (self, int success=0, int error=84) |
| bool | has_colors (self, stream) |
| get_mode_info (self, mode, filename) | |
| str | get_user_info (self, uid) |
| str | get_group_info (self, gid) |
| int | list_files (self, list files) |
| int | ls (self, Union[str, list] path="") |
Data Fields | |
| dict | colors |
| success = success | |
| error = error | |
The basics of the ls function
This code is borrowed from: https://github.com/connormason/lspython/tree/master
I :
- fixed this code's errors
- made it cross-platform
- implemented it into the program
- adapted the code to fit into the shell's functionalities
| None tty_ov.hl_ls.HLLs.__init__ | ( | self, | |
| int | success = 0, | ||
| int | error = 84 ) |
| str tty_ov.hl_ls.HLLs.get_group_info | ( | self, | |
| gid ) |
| tty_ov.hl_ls.HLLs.get_mode_info | ( | self, | |
| mode, | |||
| filename ) |
| str tty_ov.hl_ls.HLLs.get_user_info | ( | self, | |
| uid ) |
| bool tty_ov.hl_ls.HLLs.has_colors | ( | self, | |
| stream ) |
| int tty_ov.hl_ls.HLLs.list_files | ( | self, | |
| list | files ) |
| int tty_ov.hl_ls.HLLs.ls | ( | self, | |
| Union[str, list] | path = "" ) |
| dict tty_ov.hl_ls.HLLs.colors |