def getOneSize(ch):
try:<EOL><INDENT>return ch.getsize()<EOL><DEDENT>except OSError as e:<EOL><INDENT>if e.errno == errno.ENOENT:<EOL><INDENT>if os.path.islink(ch.path):<EOL><INDENT>return len(os.readlink(ch.path))<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>
@type ch: L{twisted.python.filepath.FilePath}
@return: The size, in bytes, of the given path only.