Lines Matching defs:os
10 # or http://www.opensolaris.org/os/licensing.
34 import os
54 # both need to be passed through os.path.normpath to ensure
59 target = os.path.normpath(
60 os.path.join(os.path.split(path)[0], target))
62 target = os.path.normpath(target)[1:]
75 if not os.path.exists(os.path.dirname(path)):
76 self.makedirs(os.path.dirname(path),
79 elif os.path.exists(path):
82 fulltarget = os.path.normpath(os.path.sep.join(
86 os.link(fulltarget, path)
118 target = os.path.normpath(os.path.sep.join(
121 if not os.path.exists(target):
130 if os.stat(path).st_ino != os.stat(target).st_ino: