hardlink.py revision 51
49N/A#!/usr/bin/python
49N/A#
49N/A# CDDL HEADER START
49N/A#
49N/A# The contents of this file are subject to the terms of the
49N/A# Common Development and Distribution License (the "License").
49N/A# You may not use this file except in compliance with the License.
49N/A#
49N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
49N/A# or http://www.opensolaris.org/os/licensing.
49N/A# See the License for the specific language governing permissions
49N/A# and limitations under the License.
49N/A#
49N/A# When distributing Covered Code, include this CDDL HEADER in each
49N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49N/A# If applicable, add the following below this CDDL HEADER, with the
49N/A# fields enclosed by brackets "[]" replaced with your own identifying
49N/A# information: Portions Copyright [yyyy] [name of copyright owner]
49N/A#
49N/A# CDDL HEADER END
49N/A#
49N/A
49N/A#
49N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
49N/A# Use is subject to license terms.
49N/A#
49N/A
49N/A"""module describing a (hard) link packaging object
49N/A
49N/AThis module contains the HardLinkAction class, which represents a hardlink-type
49N/Apackaging object."""
49N/A
49N/Aimport link
49N/A
49N/Aclass HardLinkAction(link.LinkAction):
49N/A """Class representing a hardlink-type packaging object."""
49N/A
51N/A name = "hardlink"
51N/A
49N/A def __init__(self, data=None, **attrs):
49N/A link.LinkAction.__init__(self, data, **attrs)