]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: move functions from handler.py to staging.py
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 17:44:39 +0000 (13:44 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 20:29:41 +0000 (16:29 -0400)
commit978e92fb68a1717a2713017382bfb5fbe9a24e63
treeb29fdcf18b051a40aae0c722968a43608b9ded4d
parent5db0a0cc759fc321e7c1fe2c34ed0c91cab75fca
mgr/smb: move functions from handler.py to staging.py

Create a new file staging.py to reduce the size of handler.py and
organize this a bit more. The staging.py file will be responsible for
the special staging area store as well as functions that work directly
on the staging store like the cross-check of resources.

This change is nearly a straight more except for renaming some functions
from _foo to foo.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/staging.py [new file with mode: 0644]