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

Function category_storage_subdir_enabled

paperflow/roles.py:77–79  ·  view source on GitHub ↗

Whether exported local files should be grouped by output category.

()

Source from the content-addressed store, hash-verified

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
78
79def role_storage_subdir_enabled() -> bool:
80 """Whether exported local files should be grouped by role/user label."""
81 return env_flag("PAPERFLOW_STORAGE_ROLE_SUBDIR", default=True)
82

Callers 1

apply_output_scopeFunction · 0.85

Calls 1

env_flagFunction · 0.85

Tested by

no test coverage detected