ACIL FM
Dark
Refresh
Current DIR:
/usr/lib/python3.9/site-packages/cockpit/channels
/
usr
lib
python3.9
site-packages
cockpit
channels
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
dbus.py
21.69 MB
chmod
View
DL
Edit
Rename
Delete
filesystem.py
24.97 MB
chmod
View
DL
Edit
Rename
Delete
http_channel.py
6.08 MB
chmod
View
DL
Edit
Rename
Delete
info.py
1001 B
chmod
View
DL
Edit
Rename
Delete
metrics.py
6.67 MB
chmod
View
DL
Edit
Rename
Delete
packages.py
3.96 MB
chmod
View
DL
Edit
Rename
Delete
pcp.py
27.01 MB
chmod
View
DL
Edit
Rename
Delete
stream.py
4.91 MB
chmod
View
DL
Edit
Rename
Delete
trivial.py
1.25 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
1.43 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/lib/python3.9/site-packages/cockpit/channels/info.py
# This file is part of Cockpit. # # Copyright (C) 2022 Red Hat, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. from ..channel import Channel from ..jsonutil import JsonObject class InfoChannel(Channel): payload = 'info' def do_open(self, options: JsonObject) -> None: del options self.ready() self.send_json(self.router.info()) self.done() self.close()
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply