Remove the old copy from sync/models/_private.py

This commit is contained in:
tcely authored and GitHub committed 2025-06-02 15:18:57 -04:00
1 parent 8852c8c2ef
commit 8b127afc23
1 file changed
-8
-8
View File
@@ -11,11 +11,3 @@ def _nfo_element(nfo, label, text, /, *, attrs={}, tail='\n', char=' ', indent=2
element.tail = tail + (char * indent)
return element
def directory_and_stem(arg_path, /, all_suffixes=False):
filepath = Path(arg_path)
stem = Path(filepath.stem)
while all_suffixes and stem.suffixes and '' != stem.suffix:
stem = Path(stem.stem)
stem = str(stem)
return (filepath.parent, stem,)