# RepositoryDirectory is only used for the creation of directories,
# and NOT for information retrieval like directory listing.
# For the latter, see RepositoryFile.
end
end
end
@name.strip! if @name
end
message = "Create directory #{name}"
end
end
dir_portions = []
dirs = []
dir_portions << portion
dirs << dir_portions.join('/')
end
dirs
end
def to_s
name
end
def to_param
path
end
def path
target_path
end
def target_path
@target_directory ||= ''
File.join(target_directory, name).sub(/^\//, '')
end
end