Logo
Explore Help
Register Sign In
sadmen
/
dragonpilot
mirror of https://github.com/dragonpilot-community/dragonpilot.git
1
0
Fork
You've already forked dragonpilot
0
Code Issues 6 Packages Projects Releases Wiki Activity
dragonpilot - 基於 openpilot 的開源駕駛輔助系統
8254 Commits
42 Branches
64 Tags
7.0 GiB
Tree: 08b4cff484
dragonpilot/selfdrive/loggerd/tools/mark_all_uploaded.py

9 lines
294 B
Raw Normal View History Unescape Escape

Uploader speedup (#2214) * use caching for getxattr * fix some git issues * Scheduled network checks * attempt optimization * Delete speed_test.py * Style fixes * Fix styling * fix spaces * fix spaces * fix naming * Update uploader.py * Update mark_all_uploaded.py * Add file to release * Update selfdrive/loggerd/tools/mark_all_uploaded.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
import os
from selfdrive.loggerd.uploader import UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE
from selfdrive.loggerd.config import ROOT
for folder in os.walk(ROOT):
for file1 in folder[2]:
full_path = os.path.join(folder[0], file1)
common: replace custom xattr implementation with os module's (#24448) * use os module's xattr function * fix that * handle in helper
3 years ago
os.setxattr(full_path, UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE)
Powered by Gitea Version: 1.17.1 Page: 178ms Template : 2ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website