Example #1
0
def di_is_link(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    assert item is not None
    return _is_link(interp.space, item)
Example #2
0
def di_is_link(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    assert item is not None
    return _is_link(interp.space, item)
Example #3
0
def is_link(interp, this):
    filename = this.file_name
    assert filename is not None
    return _is_link(interp.space, filename)
Example #4
0
def is_link(interp, this):
    filename = this.file_name
    assert filename is not None
    return _is_link(interp.space, filename)