Sha256: 318243c16988e5ffd6e7609fc4e4c9169d347d2b835b56d4458f3cd8c2cf836b

Contents?: true

Size: 534 Bytes

Versions: 21

Compression:

Stored size: 534 Bytes

Contents

import os
import sys

rootdir = sys.argv[1]
ino = {}
buf = []
for root, subFolders, files in os.walk(rootdir):

    for filename in files:
        filePath = os.path.join(root, filename)
        try:
            stat = os.lstat(filePath)
	except OSError:
            pass

        inostr = stat.st_ino

        if inostr not in ino:
            ino[stat.st_ino] = 1 
	    buf.append(filePath);
	    buf.append("\n");
            if len(buf) >= 1024:
	        sys.stdout.write(''.join(buf))
		buf = []

sys.stdout.write(''.join(buf));

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
ela-4.1.6 node_modules/walkdir/test/comparison/find.py
ela-4.1.5 node_modules/walkdir/test/comparison/find.py
ela-4.1.4 node_modules/walkdir/test/comparison/find.py
ela-4.1.3 node_modules/walkdir/test/comparison/find.py
ela-4.1.2 node_modules/walkdir/test/comparison/find.py
ela-4.1.1 node_modules/walkdir/test/comparison/find.py
ela-4.1.0 node_modules/walkdir/test/comparison/find.py
ela-4.0.0 node_modules/walkdir/test/comparison/find.py
ela-3.4.3 node_modules/walkdir/test/comparison/find.py
ela-3.4.2 node_modules/walkdir/test/comparison/find.py
ela-3.4.0 node_modules/walkdir/test/comparison/find.py
ela-3.3.1 node_modules/walkdir/test/comparison/find.py
ela-3.3.0 node_modules/walkdir/test/comparison/find.py
ela-3.2.0 node_modules/walkdir/test/comparison/find.py
ela-3.1.1 node_modules/walkdir/test/comparison/find.py
ela-3.1.0 node_modules/walkdir/test/comparison/find.py
ela-3.0.0 node_modules/walkdir/test/comparison/find.py
ela-2.0.0 node_modules/walkdir/test/comparison/find.py
ela-1.1.0 node_modules/walkdir/test/comparison/find.py
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/walkdir/test/comparison/find.py