1.2.1 • Published 10 days ago

@libtommy2024/ut-iste-ea-doloribus v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 days ago

DirectoryService

AllexJS service that takes care of a given directory.

path

The path to the directory must be given in the propertyhash for the constructor, or the constructor will throw an error.

The path may be:

  • relative (to the current working directory of the running allexmaster, that is the directory where allexmaster.pid resides)
  • absolute (to the root of the file system)

The directory will be:

  • opened if it exists
  • created if it doesn't exist

File operations

These are:

  • read
  • write
  • append

File paths

For any operation, a path to the file must be given.

The path to the file will always be treated relative to the directory's path.

File operation modes

File operations may be done in

  • raw mode
  • parse mode

Writing to files

When smaller data chunks have to be written to file, use the writeToFile task provided by the DirectoryService.

For large data payloads, use the 'transmitFile' task provided by the DirectoryService.

Reading files

For smaller files (or smaller payloads, like "record by record" mode), use the 'readFile' task provided by the DirectoryService.

For larger files, use the 'downloadFile' task provided by the DirectoryService.

patchdropObject.entriesdirectoryECMAScript 3find-upECMAScript 2017dependency managerrm -frshimformmkdirpcss nestingerror-handlingnamesvariableseslint-plugindeep-clonepnpm9equalityjson-schemawhichcolorflates2016ECMAScript 6autoprefixerbrowserslistfetchpackageeditorjasmineextensionefficientvalueRxprotoglobsettingstc39transpilecheckfastcopycallmatchespackage manageroptimistoptiontakeWeakMapsortedxtermsharedarraybufferrandomString.prototype.trimpreprocessorInt32ArraystreamschromiumlistenerseventDispatchernpmMicrosoftformscallbackintrinsiceverycss-in-jsgraphqlxdgform-validationextendjson-schema-validatorxdg-openloadinguser-streamsslotmobilecopyECMAScript 2023es5parseclassesviewforEachshellMapmacoswidthfast-deep-clonettyObservablezeroArray.prototype.flattengetPrototypeOfwritablemkdirsrminputflagscoerciblevestobjdataviewhooksfull-widthhookformoutputassertoncewordwraperrorhasOwnexpressdayjssigtermzodopenprogressargumentsomeECMAScript 2022regular expressionssaferuntimegradients cssproplinkcssyamlchineseURLsideArraypruneStyleSheetupsanitizationincludeschannelfast-clonesetPrototypeOfmrustatelessfinddateasciicensorObjecttacittapTypeBoxstringifysignalsObject.definePropertyescapeTypedArraycode pointsArrayBuffer.prototype.slicecachevisualArrayBuffer#slicecolumnArray.prototype.includesapolloReactiveExtensionscall-boundgetOwnPropertyDescriptoraccessibilityCSSStyleDeclarationbundlinges6persistentvariables in csstapeexeccorsreact posetypedarraymetadatastringpromisescore-jsbyteLengthstreams2hashvarfunctionshrinkwrapprotocol-buffersiteratesuperstructtoArrayjsondirUnderscoretesterurlslinuxajvvaluesshebangsearchreadtoSortedUint32ArraycliES2016curried_.extendlrugradients css3file systemES2017packagescommanderES2019Object.getPrototypeOfFloat32ArrayieconcatMapeventEmitterwatcherstylesarraybuffernegative zeroes-abstractimmercall-bindenvironmentpyyamlObservablesfullwidthjsdomeslintArray.prototype.filterfast-deep-copychildmimeECMAScript 2015Object.valuesstylingString.prototype.matchAllwordbreakspectypeofreacttoobjectregularredux-toolkittexttranspilerhttpsserialize6to5cjktaskkarmaaccessordescriptionuuidHyBideterministicflagstablelaunchmimetypestrimEndes2018rmdirprettyES2020importfpPromisestringifiergenericsprivatestylees-shim APIObject.fromEntriesjQuerymovesymlinkscollection.es6promisesanitizecallbinddraglintcreateenumerableairbnbloggingschemaclassnameRxJSworkerdeep-copycryptmomentECMAScript 2020writeencryptionserializerBigInt64ArrayWeakSetauthbuffersbindobjectmkdirgroupwatchdiffclassnamesInt16ArrayduplexiteratortypeerroryuptermanimationargsbusyexejsTypeScriptwaitbrowserdeletemake dirgetintrinsices7optimizerassertstrimStartratepolyfillfastifyArray.prototype.findLastbreakcompile lessSymbolSetposevalidatesymbolinstallentriesregular expressionrobustenvutilbyteponyfilljavascriptsigintes2015parentfindupexitapiinternal slotfastcloneauthentication3dstartECMAScript 7lengthfsdebugargparseSymbol.toStringTagbannerlimitedpathgdprthroatfixed-widthpostcsstrimLeftschemedescriptortostringtagfulltypanionrgbcore0StreamtypedarrayssymlinklazyECMAScript 2021ES2015deepstarterreal-timecollectionmatchutilsYAMLkoreantspropertyObject.keys
1.2.0

11 days ago

1.0.6

11 days ago

1.2.1

10 days ago

1.0.0

1 month ago