PHP 8.2.30
Preview: storage.py Size: 482 B
//proc/thread-self/root/lib/python3.6/site-packages/tuned/storage/storage.py

class Storage(object):
	__slots__ = ["_storage_provider", "_namespace"]

	def __init__(self, storage_provider, namespace):
		self._storage_provider = storage_provider
		self._namespace = namespace

	def set(self, option, value):
		self._storage_provider.set(self._namespace, option, value)

	def get(self, option, default=None):
		return self._storage_provider.get(self._namespace, option, default)

	def unset(self, option):
		self._storage_provider.unset(self._namespace, option)

Directory Contents

Dirs: 1 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2025-03-13 07:10:07
Edit Download
358 B lrw-r--r-- 2024-02-22 12:23:28
Edit Download
473 B lrw-r--r-- 2024-02-22 12:23:28
Edit Download
1.38 KB lrw-r--r-- 2024-02-22 12:23:28
Edit Download
482 B lrw-r--r-- 2024-02-22 12:23:28
Edit Download
141 B lrw-r--r-- 2024-02-22 12:23:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).