]> 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)
committerAdam King <adking@redhat.com>
Thu, 10 Jul 2025 16:02:39 +0000 (12:02 -0400)
commitc0b4a4c6edbd2009dc376dfc0badfb6dcc6394dc
treecaa9d02e7eff0ddd1dbcf7b3ad7894b76d8b33e6
parent5158b5759cf0f3cc335dc63d6a5a5e222bcb3861
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>
(cherry picked from commit 978e92fb68a1717a2713017382bfb5fbe9a24e63)
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/staging.py [new file with mode: 0644]