aboutsummaryrefslogtreecommitdiff
path: root/lib/memfs/node.go
AgeCommit message (Expand)Author
2025-01-23all: use for-range with numericShulhan
2025-01-23all: replace "interface{}" with "any"Shulhan
2025-01-22lib/http: always refresh a directory on GET requestShulhan
2024-12-28lib/memfs: move the old Watcher and DirWatcher to watchfsShulhan
2024-12-28lib/memfs: refactoring Watch to use "watchfs/v2"Shulhan
2024-03-06all: conform with linter gosec, ineffasign, and makezeroShulhan
2024-03-05all: comply with linter recommendations #1Shulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2023-12-13all: fix linter warnings reported by reviveShulhan
2023-12-09lib/memfs: add parameter withContent to [Node.JSON]Shulhan
2023-11-21lib/memfs: check for file not exist in scanDir and updateDirShulhan
2023-11-14lib/memfs: add method JSON to NodeShulhan
2023-11-14lib/memfs: add option to pack JSON without ModTimeShulhan
2023-11-08lib/memfs: do not return when mode changes in Node UpdateShulhan
2023-11-08lib/memfs: remove embedding os.FileInfo and http.FileShulhan
2023-11-05lib/memfs: re-scan directory content on Node's UpdateShulhan
2023-10-29lib/memfs: add method Child to NodeShulhan
2023-10-24lib/memfs: quote the path in the returned errorShulhan
2023-09-11lib/memfs: update and add missing comment to constants and methodsShulhan
2022-09-01lib/memfs: fix SIGSEGV when node is deleted when being watchedShulhan
2022-08-31lib/memfs: simplify checking for symlinkShulhan
2022-08-03lib/memfs: add method to generate index.html in Node's ContentShulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2022-04-06all: replace any usage of ioutil package with os or ioShulhan
2022-04-06lib/memfs: make the Node's addChild to be idempotentShulhan
2022-03-27lib/memfs: differentiate prefix on MemFS's Update and Node's UpdateShulhan
2021-12-19lib/memfs: realign struct Node, Options, PathNode, and on unit testsShulhan
2021-12-19lib/memfs: remove field ContentEncoding from EmbedOptions and NodeShulhan
2021-10-26lib/memfs: move the embedded parameter to OptionsShulhan
2021-10-09lib/memfs: prefix all error when the method or function namesShulhan
2021-10-09lib/memfs: use consistent receiver name on Node methodsShulhan
2021-10-09lib/memfs: refactoring Node field V into ContentShulhan
2021-10-09lib/memfs: set the node modification time in embedded fileShulhan
2021-10-08lib/memfs: remove unnecessary initialization on NewNodeShulhan
2021-10-02lib/memfs: export the Node Update methodShulhan
2021-09-25lib/io: fix NewWatcher when called DirWatcherShulhan
2021-09-11lib/memfs: fix NewNode if node is symlink to directoryShulhan
2021-08-30lib/memfs: fix empty ContentType if MaxFileSize is negativeShulhan
2021-08-29lib/memfs: change the MarshalJSON to always return an objectShulhan
2021-08-22lib/memfs: add method Save and EncodeShulhan
2021-08-22lib/memfs: fix empty file not being added to treeShulhan
2021-08-22lib/memfs: fix symbolic link with different nameShulhan
2021-08-12lib/memfs: make the MarshalJSON on Node to return the contentShulhan
2021-07-30lib/memfs: add internal method to reset modTimeShulhan
2021-07-25lib/memfs: implement json.Marshaler on MemFS and NodeShulhan
2021-06-03memfs: set the field Parent on Node AddChildShulhan
2021-01-09memfs: allow AddFile to set internal pathShulhan
2021-01-09memfs: simplify the generate function nameShulhan
2021-01-08memfs: remove field WithContentShulhan
2021-01-08memfs: refactoring, allow multiple instances of memfs in single packageShulhan