MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / role_storage_subdir_enabled

Function role_storage_subdir_enabled

paperflow/roles.py:72–74  ·  view source on GitHub ↗

Whether exported local files should be grouped by role/user label.

()

Source from the content-addressed store, hash-verified

70 return cleaned_role_name or cleaned_user_id
71 return cleaned_user_id
72
73
74def storage_label_for_user_id(user_id: str, *, project_root: Optional[Path] = None) -> str:
75 """Return the role-name-based filesystem label for a user id."""
76 return slug(role_name_for_user_id(user_id, project_root=project_root))
77

Callers 1

apply_user_scopeFunction · 0.85

Calls 1

env_flagFunction · 0.85

Tested by

no test coverage detected