Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (21 sloc) 0.551 kB
line = True if '-l' in args else False
if line: args.remove('-l')
argsLen = len(args)
if argsLen==1:
for i in folder.getAll():
i.to_s(line)
if (not line) and (not folder.empty()): print ""
elif argsLen==2:
args[1] = args[1][:-1] if args[1][-1]=='/' else args[1]
tmp = folder.traverse(list(reversed(args[1].split('/'))), drive)
if isinstance(tmp,dFile):
tmp.to_s(line)
print ""
elif isinstance(tmp,dFolder):
for i in tmp.getAll():
i.to_s(line)
if (not line) and (not tmp.empty()): print ""
else:
nfd(args[1])
else:
cnu(args[0])
Jump to Line
Something went wrong with that request. Please try again.