Function: magit-submodule-list-module-populated-p
magit-submodule-list-module-populated-p is a natively compiled
function defined in magit-submodule.el.
Signature
(magit-submodule-list-module-populated-p MODULE)
Documentation
Return t if MODULE is populated, nil otherwise.
This is only suitable as a value of magit-submodule-list-predicate.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-submodule.el
(defun magit-submodule-list-module-populated-p (module)
"Return t if MODULE is populated, nil otherwise.
This is only suitable as a value of `magit-submodule-list-predicate'."
(file-exists-p
(expand-file-name (concat (file-name-as-directory module) ".git"))))