LogoLogo
HomeLibraryDonateHelpAbout
  • Repository Manager
  • Credits
  • Application Manifests
    • Introduction to manifests
    • Example manifest
    • Essential Information
      • Category
      • Peripherals
      • Flags
      • Platforms
    • Source
      • Format
      • URL
        • Location
      • GitHub Release
        • Repository
        • File
        • Additional Files
      • SourceForge Release
      • itch.io
      • MediaFire
        • Location
    • Treatments
      • Contents
      • Meta
      • Web
      • Archive
  • Pattern Matching
  • Supported Archive Formats
  • Information for app developers
    • FAQ
  • API
    • Introduction
    • Retrieving Information
    • Retrieving Contents
    • Guidelines
  • Server
    • Introduction
    • Repository Index
    • SourceDownloader
Powered by GitBook
LogoLogo

Documentation

  • API v2
  • WSC
  • CLI

Social

  • Twitter
  • Discord
  • GitHub
On this page
  • Available Treatments
  • Example:

Was this helpful?

  1. Application Manifests
  2. Treatments

Contents

Treatments group for manipulating files and directories.

PreviousTreatmentsNextMeta

Last updated 1 year ago

Was this helpful?

Available Treatments

These are the treatments currently provided by the "Contents" treatment group:

Treatment
Arguments
Description

contents.move

["source", "destination"]

Moves a single directory/file from "source" to "destination". Paths relative to application root. The "source" can contain a . Similar to usage of the mv command in Linux.

contents.delete

["path"]

Deletes a directory/file. Path relative to application root.

Example:

{
    ...
    "treatments": [
        {
            "treatment": "contents.move", "arguments": ["newozero/", "apps/newozero/"]
        },
    ],
    ...
}
pattern