Gta V Xdev

0 views
Skip to first unread message

Stayce Cawthorn

unread,
Aug 4, 2024, 8:28:18 PM8/4/24
to fornidemen
Thedirstats function is like a buffed up tree. In addition to printingthe directory tree structure it inspects the contents of the tree andsummarizes things like: number of lines per type of file. For Python files itbreaks up the analysis into code-lines and docstring lines to give a bettersense of project complexity.

For repo maintence I use this package in conjunction with xcookie. I use xcookie to generate the packagestructure and then xdev helps fill in the details. Specifically theavailpkg and docstubs commands.


...you can see that the key is evaluating the stat() structure's device number. The 'File::Find::topdev' variable holds the top directory's device number and find() skips objects that don't have the same device number.


The suggestion for looking at 'find2perl' was to show how you implement the shell's find()'s '-xdev' option. As I originally saidt the key is evaluating the stat() structure's device number. The 'File::Find::topdev' variable holds the top directory's device number and find() skips objects that don't have the same device number.


You can modify Clay's script to include this if that meets your need; or write your own (to do what *you* want to do; or *not* use File::Find but rather use 'readdir()' to recursively descend a directory and examine and "do things" with its contents.

3a8082e126
Reply all
Reply to author
Forward
0 new messages