Commit a3905c0
committed
Added
Using `torchbear.os` will return the os that torchbear is running on. If the system is not provided (eg if torchbear is ran on *bsd while there is no check for it) or is not available (eg running on a platform that dont have a valid os in `target_os`), it will return `unknown`.torchbear.os
1 parent 79e09d3 commit a3905c0
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
| |||
0 commit comments