Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
69ac2434
Commit
69ac2434
authored
Aug 12, 2023
by
Anon
Browse files
Options
Downloads
Patches
Plain Diff
mypystubs: document uos.stat
parent
1a811ce1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/api/uos.rst
+7
-0
7 additions, 0 deletions
docs/api/uos.rst
docs/index.rst
+1
-0
1 addition, 0 deletions
docs/index.rst
python_payload/mypystubs/uos.pyi
+32
-0
32 additions, 0 deletions
python_payload/mypystubs/uos.pyi
with
40 additions
and
0 deletions
docs/api/uos.rst
0 → 100644
+
7
−
0
View file @
69ac2434
``uos`` module
===============
.. automodule:: uos
:members:
:undoc-members:
:member-order: bysource
This diff is collapsed.
Click to expand it.
docs/index.rst
+
1
−
0
View file @
69ac2434
...
@@ -30,6 +30,7 @@ Welcome to flow3r's documentation!
...
@@ -30,6 +30,7 @@ Welcome to flow3r's documentation!
api/captouch.rst
api/captouch.rst
api/ctx.rst
api/ctx.rst
api/leds.rst
api/leds.rst
api/uos.rst
api/sys_buttons.rst
api/sys_buttons.rst
api/sys_display.rst
api/sys_display.rst
api/sys_kernel.rst
api/sys_kernel.rst
...
...
This diff is collapsed.
Click to expand it.
python_payload/mypystubs/uos.pyi
0 → 100644
+
32
−
0
View file @
69ac2434
from
typing
import
NewType
StatStruct
=
NewType
(
"
StatStruct
"
,
tuple
[
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
]
)
def
stat
(
path
:
str
)
->
StatStruct
:
"""
Get the status of a file or directory.
Returns a tuple with 10 elements:
- st_mode
- st_ino
- st_dev
- st_nlink
- sb.st_uid
- sb.st_gid
- sb.st_size
- sb.st_atime
- sb.st_mtime
- sb.st_ctime
"""
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment